EventGridModelFactory.MediaJobError 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 MediaJobError.
public static Azure.Messaging.EventGrid.SystemEvents.MediaJobError MediaJobError (Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorCode? code = default, string message = default, Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorCategory? category = default, Azure.Messaging.EventGrid.SystemEvents.MediaJobRetry? retry = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorDetail> details = default);
static member MediaJobError : Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorCode> * string * Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorCategory> * Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobRetry> * seq<Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorDetail> -> Azure.Messaging.EventGrid.SystemEvents.MediaJobError
Public Shared Function MediaJobError (Optional code As Nullable(Of MediaJobErrorCode) = Nothing, Optional message As String = Nothing, Optional category As Nullable(Of MediaJobErrorCategory) = Nothing, Optional retry As Nullable(Of MediaJobRetry) = Nothing, Optional details As IEnumerable(Of MediaJobErrorDetail) = Nothing) As MediaJobError
Parameters
- code
- Nullable<MediaJobErrorCode>
Error code describing the error.
- message
- String
A human-readable language-dependent representation of the error.
- category
- Nullable<MediaJobErrorCategory>
Helps with categorization of errors.
- retry
- Nullable<MediaJobRetry>
Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal.
- details
- IEnumerable<MediaJobErrorDetail>
An array of details about specific errors that led to this reported error.
Returns
A new MediaJobError instance for mocking.