AlertRuleProcessResult Class

Represents the result of executing an alert rule. This is an object returned directly by a connector; it contains properties to be used internally by the event handler to finalize processing, and can be used to generate an AlertRuleProcessResultDto for final logging.

Definition

Namespace: MobileTrack.Common.Models.Alerts
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class AlertRuleProcessResult
Inheritance
Object    AlertRuleProcessResult

Constructors

AlertRuleProcessResultInitializes a new instance of the AlertRuleProcessResult class

Properties

Endpoint The destination (URI or hostname) for the message.
ErrorMessage An optional error message if the processing failed.
ExecutedActions The list of AlertAction that were executed as a result of processing the alert rule.
HttpStatusCode The HTTP status code received from the endpoint, if applicable.
MessageSent The message that was delivered to the remote endpoint.
Success Indicates whether the processing of the alert rule was successful.
UpdatedState The updated connector state resulting from the processed alert rule.

Methods

ErrorResult Creates an instance of AlertRuleProcessResult to report a failure during the processing of an alert rule.
SuccessResult Creates an instance of AlertRuleProcessResult to report the successful processing of an alert rule.

See Also