Partilhar via


EventGridModelFactory.MediaJobStateChangeEventData Método

Definição

Inicializa uma nova instância de MediaJobStateChangeEventData.

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

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 MediaJobStateChangeEventData instância para zombar.

Aplica-se a