AlertActionCreateFailedAction Method
Creates a new instance of
AlertAction that represents a failed action during alert rule processing.
Namespace: MobileTrack.Common.Models.AlertsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static AlertAction CreateFailedAction(
string type,
string? errorMessage = null,
string? target = null
)
- 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.
AlertActionA fully initialized instance of
AlertAction indicating a failed operation.