Click or drag to resize

AlertConstruct Method (IAppContext, DateTime, String, String, NameValueCollection, 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 templateName,
	NameValueCollection templateData,
	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.
templateName
Type: SystemString
The name of the template to use to construct the alert body.
templateData
Type: System.Collections.SpecializedNameValueCollection
The data to use when resolving the template.
linkURL
Type: SystemString
The LINK_URL url to link to the item related to the alert.

Return Value

Type: Alert
The newly created alert object.
See Also