AlertRuleProcessResultSuccessResult Method

Creates an instance of AlertRuleProcessResult to report the successful processing of an alert rule.

Definition

Namespace: MobileTrack.Common.Models.Alerts
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static AlertRuleProcessResult SuccessResult(
	ConnectorStateDto? state = null,
	List<AlertAction>? actions = null,
	string? message = null,
	string? endpoint = null,
	int? httpStatusCode = null
)

Parameters

state  ConnectorStateDto  (Optional)
If the connector keeps state, the updated state resulting from processing the alert rule.
actions  ListAlertAction  (Optional)
One or more actions executed during the processing stage.
message  String  (Optional)
A message that was delivered to a remote endpoint.
endpoint  String  (Optional)
The URI or hostname where the message was delivered.
httpStatusCode  NullableInt32  (Optional)
The status code returned by the endpoint, if a HTTP request was performed.

Return Value

AlertRuleProcessResult
A fully initialized instance of AlertRuleProcessResult indicating that an alert rule was successfully processed.

See Also