ServiceError Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.