Click or drag to resize

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
)

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: Alert
The newly created alert object.
See Also