ArmRecoveryServicesBackupModelFactory.WorkloadErrorInfo 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.
Azure storage specific error information.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadErrorInfo WorkloadErrorInfo(int? errorCode = default, string errorString = default, string errorTitle = default, System.Collections.Generic.IEnumerable<string> recommendations = default, string additionalDetails = default);
static member WorkloadErrorInfo : Nullable<int> * string * string * seq<string> * string -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadErrorInfo
Public Shared Function WorkloadErrorInfo (Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorString As String = Nothing, Optional errorTitle As String = Nothing, Optional recommendations As IEnumerable(Of String) = Nothing, Optional additionalDetails As String = Nothing) As WorkloadErrorInfo
Parameters
- errorString
- String
Localized error string.
- errorTitle
- String
Title: Typically, the entity that the error pertains to.
- recommendations
- IEnumerable<String>
List of localized recommendations for above error code.
- additionalDetails
- String
Additional details for above error code.
Returns
A new WorkloadErrorInfo instance for mocking.