ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryServiceError Method
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.
Initializes a new instance of SiteRecoveryServiceError.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServiceError SiteRecoveryServiceError (string code = default, string message = default, string possibleCauses = default, string recommendedAction = default, string activityId = default);
static member SiteRecoveryServiceError : string * string * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServiceError
Public Shared Function SiteRecoveryServiceError (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) As SiteRecoveryServiceError
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.
Returns
A new SiteRecoveryServiceError instance for mocking.