Share via


EventGridModelFactory.MediaJobProcessingEventData Method

Definition

Initializes a new instance of 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

Parameters

previousState
Nullable<MediaJobState>

The previous state of the Job.

state
Nullable<MediaJobState>

The new state of the Job.

correlationData
IReadOnlyDictionary<String,String>

Gets the Job correlation data.

Returns

A new MediaJobProcessingEventData instance for mocking.

Applies to