Condividi tramite


EventGridModelFactory.MediaJobErrorDetail(String, String) Method

Definition

Initializes a new instance of MediaJobErrorDetail.

public static Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorDetail MediaJobErrorDetail (string code = default, string message = default);
static member MediaJobErrorDetail : string * string -> Azure.Messaging.EventGrid.SystemEvents.MediaJobErrorDetail
Public Shared Function MediaJobErrorDetail (Optional code As String = Nothing, Optional message As String = Nothing) As MediaJobErrorDetail

Parameters

code
String

Code describing the error detail.

message
String

A human-readable representation of the error.

Returns

A new MediaJobErrorDetail instance for mocking.

Applies to