Partilhar 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 da Tarefa.

state
Nullable<MediaJobState>

O novo estado da Tarefa.

correlationData
IReadOnlyDictionary<String,String>

Obtém os dados de correlação da tarefa.

Devoluções

Uma nova MediaJobCancelingEventData instância para gozar.

Aplica-se a