Partager via


ServiceError Constructors

Definition

Overloads

ServiceError()

Initializes a new instance of the ServiceError class.

ServiceError(String, String, String, String, String)

Initializes a new instance of the ServiceError class.

ServiceError()

Initializes a new instance of the ServiceError class.

public ServiceError ();
Public Sub New ()

Applies to

ServiceError(String, String, String, String, String)

Initializes a new instance of the ServiceError class.

public ServiceError (string code = default, string message = default, string possibleCauses = default, string recommendedAction = default, string activityId = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ServiceError : string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ServiceError
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional possibleCauses As String = Nothing, Optional recommendedAction As String = Nothing, Optional activityId As String = Nothing)

Parameters

code
String

Error code.

message
String

Error message.

possibleCauses
String

Possible causes of error.

recommendedAction
String

Recommended action to resolve error.

activityId
String

Activity Id.

Applies to