共用方式為


ArmRecoveryServicesBackupModelFactory.BackupErrorDetail Method

Definition

Initializes a new instance of BackupErrorDetail.

public static Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail BackupErrorDetail (string code = default, string message = default, System.Collections.Generic.IEnumerable<string> recommendations = default);
static member BackupErrorDetail : string * string * seq<string> -> Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail
Public Shared Function BackupErrorDetail (Optional code As String = Nothing, Optional message As String = Nothing, Optional recommendations As IEnumerable(Of String) = Nothing) As BackupErrorDetail

Parameters

code
String

Error code.

message
String

Error Message related to the Code.

recommendations
IEnumerable<String>

List of recommendation strings.

Returns

A new BackupErrorDetail instance for mocking.

Applies to