EventGridModelFactory.MediaJobStateChangeEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.