ArmMediaModelFactory.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.ResourceManager.Media.Models.MediaJobError MediaJobError (Azure.ResourceManager.Media.Models.MediaJobErrorCode? code = default, string message = default, Azure.ResourceManager.Media.Models.MediaJobErrorCategory? category = default, Azure.ResourceManager.Media.Models.MediaJobRetry? retry = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.MediaJobErrorDetail> details = default);
static member MediaJobError : Nullable<Azure.ResourceManager.Media.Models.MediaJobErrorCode> * string * Nullable<Azure.ResourceManager.Media.Models.MediaJobErrorCategory> * Nullable<Azure.ResourceManager.Media.Models.MediaJobRetry> * seq<Azure.ResourceManager.Media.Models.MediaJobErrorDetail> -> Azure.ResourceManager.Media.Models.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.