EventGridModelFactory.MediaJobFinishedEventData(Nullable<MediaJobState>, Nullable<MediaJobState>, IReadOnlyDictionary<String,String>, IEnumerable<MediaJobOutput>) Method

Definition

Initializes a new instance of MediaJobFinishedEventData.

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

Parameters

previousState
System.Nullable<MediaJobState>

The previous state of the Job.

state
System.Nullable<MediaJobState>

The new state of the Job.

correlationData
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>

Gets the Job correlation data.

outputs
System.Collections.Generic.IEnumerable<MediaJobOutput>

Gets the Job outputs.

Returns

MediaJobFinishedEventData

A new MediaJobFinishedEventData instance for mocking.

Applies to