AlertActionCreateFailedAction Method

Creates a new instance of AlertAction that represents a failed action during alert rule processing.

Definition

Namespace: MobileTrack.Common.Models.Alerts
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static AlertAction CreateFailedAction(
	string type,
	string? errorMessage = null,
	string? target = null
)

Parameters

type  String
Describes the operation that was executed.
errorMessage  String  (Optional)
Describes the nature of the failure.
target  String  (Optional)
The target of the action, such as an e-mail address or endpoint URL.

Return Value

AlertAction
A fully initialized instance of AlertAction indicating a failed operation.

See Also