ArmRecoveryServicesBackupModelFactory.WorkloadErrorInfo Method

Definition

Azure storage specific error information.

public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadErrorInfo WorkloadErrorInfo(int? errorCode = default, string errorString = default, string errorTitle = default, System.Collections.Generic.IEnumerable<string> recommendations = default, string additionalDetails = default);
static member WorkloadErrorInfo : Nullable<int> * string * string * seq<string> * string -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadErrorInfo
Public Shared Function WorkloadErrorInfo (Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorString As String = Nothing, Optional errorTitle As String = Nothing, Optional recommendations As IEnumerable(Of String) = Nothing, Optional additionalDetails As String = Nothing) As WorkloadErrorInfo

Parameters

errorCode
Nullable<Int32>

Error code.

errorString
String

Localized error string.

errorTitle
String

Title: Typically, the entity that the error pertains to.

recommendations
IEnumerable<String>

List of localized recommendations for above error code.

additionalDetails
String

Additional details for above error code.

Returns

A new WorkloadErrorInfo instance for mocking.

Applies to