Dela via


EventGridModelFactory.MediaJobCancelingEventData Metod

Definition

Initierar en ny instans av MediaJobCancelingEventData.

public static Azure.Messaging.EventGrid.SystemEvents.MediaJobCancelingEventData MediaJobCancelingEventData (Azure.Messaging.EventGrid.SystemEvents.MediaJobState? previousState = default, Azure.Messaging.EventGrid.SystemEvents.MediaJobState? state = default, System.Collections.Generic.IReadOnlyDictionary<string,string> correlationData = default);
static member MediaJobCancelingEventData : Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobState> * Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobState> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.MediaJobCancelingEventData
Public Shared Function MediaJobCancelingEventData (Optional previousState As Nullable(Of MediaJobState) = Nothing, Optional state As Nullable(Of MediaJobState) = Nothing, Optional correlationData As IReadOnlyDictionary(Of String, String) = Nothing) As MediaJobCancelingEventData

Parametrar

previousState
Nullable<MediaJobState>

Det tidigare tillståndet för jobbet.

state
Nullable<MediaJobState>

Jobbets nya tillstånd.

correlationData
IReadOnlyDictionary<String,String>

Hämtar jobbkorrelationsdata.

Returer

En ny MediaJobCancelingEventData instans för att håna.

Gäller för