Click or drag to resize

Alert Methods

The Alert type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConstruct(IAppContext, DateTime, String, String, NameValueCollection, String)
Creates an alert object from the supplied parameters
Public methodStatic memberConstruct(IAppContext, DateTime, String, String, String, String)
Creates an alert object from the supplied parameters
Public methodCreate
Sends an alert internally. The value returned is the unique ID for this alert.
Public methodDelete
Delete this alert. Requires that ID is known.
Public methodStatic memberDelete(IAppContext, Int32)
Deletes a single alert
Public methodStatic memberDeleteRelated
Deletes all alerts related to the key
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFirst
Loads the first deliverable alert matching ths specified filter. Alerts that have a future delivery date or a past expiration date are NOT considered deliverable.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Save (insert or update as appropriate) this alert to the xot_alerts table.
Public methodToJson
Convert the alert into a JSON object suitable for use in the EAP.DeliverMsg() javascript method. Note that this is a non-standard serialization which includes custom alert object logic.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also