MediaJobError MediaJobError MediaJobError Constructors

Definition

Overloads

MediaJobError() MediaJobError()

Initializes a new instance of the MediaJobError class.

MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>) MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>) MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>)

Initializes a new instance of the MediaJobError class.

MediaJobError() MediaJobError()

Initializes a new instance of the MediaJobError class.

public MediaJobError ();
Public Sub New ()

MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>) MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>) MediaJobError(MediaJobErrorCode, String, MediaJobErrorCategory, MediaJobRetry, IList<MediaJobErrorDetail>)

Initializes a new instance of the MediaJobError class.

public MediaJobError (Microsoft.Azure.EventGrid.Models.MediaJobErrorCode code = Microsoft.Azure.EventGrid.Models.MediaJobErrorCode.ServiceError, string message = null, Microsoft.Azure.EventGrid.Models.MediaJobErrorCategory category = Microsoft.Azure.EventGrid.Models.MediaJobErrorCategory.Service, Microsoft.Azure.EventGrid.Models.MediaJobRetry retry = Microsoft.Azure.EventGrid.Models.MediaJobRetry.DoNotRetry, System.Collections.Generic.IList<Microsoft.Azure.EventGrid.Models.MediaJobErrorDetail> details = null);
new Microsoft.Azure.EventGrid.Models.MediaJobError : Microsoft.Azure.EventGrid.Models.MediaJobErrorCode * string * Microsoft.Azure.EventGrid.Models.MediaJobErrorCategory * Microsoft.Azure.EventGrid.Models.MediaJobRetry * System.Collections.Generic.IList<Microsoft.Azure.EventGrid.Models.MediaJobErrorDetail> -> Microsoft.Azure.EventGrid.Models.MediaJobError
Public Sub New (Optional code As MediaJobErrorCode = Microsoft.Azure.EventGrid.Models.MediaJobErrorCode.ServiceError, Optional message As String = null, Optional category As MediaJobErrorCategory = Microsoft.Azure.EventGrid.Models.MediaJobErrorCategory.Service, Optional retry As MediaJobRetry = Microsoft.Azure.EventGrid.Models.MediaJobRetry.DoNotRetry, Optional details As IList(Of MediaJobErrorDetail) = null)

Parameters

code
MediaJobErrorCode MediaJobErrorCode MediaJobErrorCode

Error code describing the error. Possible values include: 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible', 'DownloadTransientError', 'UploadNotAccessible', 'UploadTransientError', 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported'

message
String String String

A human-readable language-dependent representation of the error.

category
MediaJobErrorCategory MediaJobErrorCategory MediaJobErrorCategory

Helps with categorization of errors. Possible values include: 'Service', 'Download', 'Upload', 'Configuration', 'Content'

retry
MediaJobRetry MediaJobRetry MediaJobRetry

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<MediaJobErrorDetail>

An array of details about specific errors that led to this reported error.

Applies to