AlertConstruct Method (IAppContext, DateTime, String, String, String, String) |
Creates an alert object from the supplied parameters
Namespace:
NetQuarry.Services
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static Alert Construct(
IAppContext appCxt,
DateTime deliveryDateUTC,
string userID,
string subject,
string body,
string linkURL
)
Public Shared Function Construct (
appCxt As IAppContext,
deliveryDateUTC As DateTime,
userID As String,
subject As String,
body As String,
linkURL As String
) As Alert
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context. - deliveryDateUTC
- Type: SystemDateTime
The alert delivery date (UTC timezone). - userID
- Type: SystemString
The user to receive the alert. - subject
- Type: SystemString
The subject of the alert. - body
- Type: SystemString
The alert body. - linkURL
- Type: SystemString
The url to link to the item related to the alert.
Return Value
Type:
AlertThe newly created alert object.
See Also