共用方式為


ArmComputeScheduleModelFactory.OperationErrorDetails Method

Definition

Initializes a new instance of OperationErrorDetails.

public static Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails OperationErrorDetails (string errorCode = default, DateTimeOffset errorDetails = default, DateTimeOffset timeStamp = default, string crpOperationId = default);
static member OperationErrorDetails : string * DateTimeOffset * DateTimeOffset * string -> Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails
Public Shared Function OperationErrorDetails (Optional errorCode As String = Nothing, Optional errorDetails As DateTimeOffset = Nothing, Optional timeStamp As DateTimeOffset = Nothing, Optional crpOperationId As String = Nothing) As OperationErrorDetails

Parameters

errorCode
String

The error code of the operation.

errorDetails
DateTimeOffset

The error details of the operation.

timeStamp
DateTimeOffset

The timestamp of the error occurence.

crpOperationId
String

CRP operationid of the operation for deeper analysis.

Returns

A new OperationErrorDetails instance for mocking.

Applies to