Dela via


EventGridModelFactory.MediaJobProcessingEventData Metod

Definition

Initierar en ny instans av MediaJobProcessingEventData.

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

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 MediaJobProcessingEventData instans för att håna.

Gäller för