Alert Methods |
The Alert type exposes the following members.
| Name | Description | |
|---|---|---|
| Construct(IAppContext, DateTime, String, String, NameValueCollection, String) |
Creates an alert object from the supplied parameters
| |
| Construct(IAppContext, DateTime, String, String, String, String) |
Creates an alert object from the supplied parameters
| |
| Create |
Sends an alert internally. The value returned is the unique ID for this alert.
| |
| Delete |
Delete this alert. Requires that ID is known.
| |
| Delete(IAppContext, Int32) |
Deletes a single alert
| |
| DeleteRelated |
Deletes all alerts related to the key
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LoadFirst |
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.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Save |
Save (insert or update as appropriate) this alert to the xot_alerts table.
| |
| ToJson |
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.
| |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| EqualValue |
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.) |