ArmRecoveryServicesBackupModelFactory.StorageErrorInfo Method

Definition

Azure storage specific error information.

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

Parameters

errorCode
Nullable<Int32>

Error code.

errorString
String

Localized error string.

recommendations
IEnumerable<String>

List of localized recommendations for above error code.

Returns

A new StorageErrorInfo instance for mocking.

Applies to