Freigeben über


Error Constructors

Definition

Overloads

Error()

Initializes a new instance of the Error class.

Error(ServiceError)

Initializes a new instance of the Error class with required parameters.

Error(String, String, String, String, String)

Initializes a new instance of the Error class.

Error()

Initializes a new instance of the Error class.

public Error ();
Public Sub New ()

Applies to

Error(ServiceError)

Initializes a new instance of the Error class with required parameters.

public Error (Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ServiceError se);
new Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.Error : Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ServiceError -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.Error
Public Sub New (se As ServiceError)

Parameters

se
ServiceError

Service Error

Applies to

Error(String, String, String, String, String)

Initializes a new instance of the Error class.

public Error (string errorCode, string message, string possibleCauses, string recommendedAction, string activityId);
new Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.Error : string * string * string * string * string -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.Error
Public Sub New (errorCode As String, message As String, possibleCauses As String, recommendedAction As String, activityId As String)

Parameters

errorCode
String

Service generated error code.

message
String

Error message.

possibleCauses
String

Possible causes of the error.

recommendedAction
String

Recommended action to resolve the error.

activityId
String

ActivityId in which error occurred.

Applies to