ArmChaosModelFactory.ChaosOperationError(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a system or infrastructure error encountered during an async operation.
public static Azure.ResourceManager.Chaos.Models.ChaosOperationError ChaosOperationError(string errorCode = default, string errorMessage = default);
static member ChaosOperationError : string * string -> Azure.ResourceManager.Chaos.Models.ChaosOperationError
Public Shared Function ChaosOperationError (Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As ChaosOperationError
Parameters
- errorCode
- String
The error code identifying the type of system error.
- errorMessage
- String
A human-readable description of the system error.
Returns
A new ChaosOperationError instance for mocking.