AlertRuleProcessResultErrorResult Method
Namespace: MobileTrack.Common.Models.AlertsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static AlertRuleProcessResult ErrorResult(
string errorMessage,
List<AlertAction>? actions = null,
string? message = null,
string? endpoint = null,
int? httpStatusCode = null
)
- errorMessage String
- A message describing the failure.
- actions ListAlertAction (Optional)
- The actions executed during the processing stage up until the point of failure.
- 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.
AlertRuleProcessResultA fully initialized instance of
AlertRuleProcessResult indicating that an alert rule failed during processing.