Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryJobProviderError Method

Definition

Initializes a new instance of SiteRecoveryJobProviderError.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobProviderError SiteRecoveryJobProviderError (int? errorCode = default, string errorMessage = default, string errorId = default, string possibleCauses = default, string recommendedAction = default);
static member SiteRecoveryJobProviderError : Nullable<int> * string * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobProviderError
Public Shared Function SiteRecoveryJobProviderError (Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorMessage As String = Nothing, Optional errorId As String = Nothing, Optional possibleCauses As String = Nothing, Optional recommendedAction As String = Nothing) As SiteRecoveryJobProviderError

Parameters

errorCode
Nullable<Int32>

The Error code.

errorMessage
String

The Error message.

errorId
String

The Provider error Id.

possibleCauses
String

The possible causes for the error.

recommendedAction
String

The recommended action to resolve the error.

Returns

A new SiteRecoveryJobProviderError instance for mocking.

Applies to