JobError 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
JobError() |
Initializes a new instance of the JobError class. |
JobError(JobErrorCode, String, JobErrorCategory, JobRetry, IList<JobErrorDetail>) |
Initializes a new instance of the JobError class. |
JobError()
Initializes a new instance of the JobError class.
public JobError ();
Public Sub New ()
Applies to
JobError(JobErrorCode, String, JobErrorCategory, JobRetry, IList<JobErrorDetail>)
Initializes a new instance of the JobError class.
public JobError (Microsoft.Azure.Management.Media.Models.JobErrorCode code = default, string message = default, Microsoft.Azure.Management.Media.Models.JobErrorCategory category = default, Microsoft.Azure.Management.Media.Models.JobRetry retry = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.JobErrorDetail> details = default);
new Microsoft.Azure.Management.Media.Models.JobError : Microsoft.Azure.Management.Media.Models.JobErrorCode * string * Microsoft.Azure.Management.Media.Models.JobErrorCategory * Microsoft.Azure.Management.Media.Models.JobRetry * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.JobErrorDetail> -> Microsoft.Azure.Management.Media.Models.JobError
Public Sub New (Optional code As JobErrorCode = Nothing, Optional message As String = Nothing, Optional category As JobErrorCategory = Nothing, Optional retry As JobRetry = Nothing, Optional details As IList(Of JobErrorDetail) = Nothing)
Parameters
- code
- JobErrorCode
Error code describing the error. Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported'
- message
- String
A human-readable language-dependent representation of the error.
- category
- JobErrorCategory
Helps with categorization of errors. Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content'
- retry
- JobRetry
Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal. Possible values include: 'DoNotRetry', 'MayRetry'
- details
- IList<JobErrorDetail>
An array of details about specific errors that led to this reported error.
Applies to
Azure SDK for .NET