Share via


EventGridModelFactory.MediaJobStateChangeEventData Method

Definition

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

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 MediaJobStateChangeEventData instance for mocking.

Applies to