Freigeben über


EventGridModelFactory.MediaJobCancelingEventData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

previousState
Nullable<MediaJobState>

Der vorherige Status des Auftrags.

state
Nullable<MediaJobState>

Der neue Status des Auftrags.

correlationData
IReadOnlyDictionary<String,String>

Ruft die Auftragskorrelationsdaten ab.

Gibt zurück

Eine neue MediaJobCancelingEventData instance zum Mocking.

Gilt für: