Compartilhar via


EventGridModelFactory.MediaJobCancelingEventData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

previousState
Nullable<MediaJobState>

O estado anterior do Trabalho.

state
Nullable<MediaJobState>

O novo estado do Trabalho.

correlationData
IReadOnlyDictionary<String,String>

Obtém os dados de correlação de trabalho.

Retornos

Uma nova MediaJobCancelingEventData instância para simulação.

Aplica-se a