Udostępnij za pośrednictwem


ArmComputeScheduleModelFactory.ResourceOperationError(String, String) Method

Definition

Initializes a new instance of ResourceOperationError.

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

Parameters

errorCode
String

Code for the error eg 404, 500.

errorDetails
String

Detailed message about the error.

Returns

A new ResourceOperationError instance for mocking.

Applies to