共用方式為


ArmRecoveryServicesBackupModelFactory.IaasVmErrorInfo Method

Definition

Initializes a new instance of IaasVmErrorInfo.

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

Parameters

errorCode
Nullable<Int32>

Error code.

errorTitle
String

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

errorString
String

Localized error string.

recommendations
IEnumerable<String>

List of localized recommendations for above error code.

Returns

A new IaasVmErrorInfo instance for mocking.

Applies to