Error 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
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()
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.