EventGridModelFactory.MediaJobOutputFinishedEventData 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 MediaJobOutputFinishedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.MediaJobOutputFinishedEventData MediaJobOutputFinishedEventData (Azure.Messaging.EventGrid.SystemEvents.MediaJobState? previousState = default, Azure.Messaging.EventGrid.SystemEvents.MediaJobOutput output = default, System.Collections.Generic.IReadOnlyDictionary<string,string> jobCorrelationData = default);
static member MediaJobOutputFinishedEventData : Nullable<Azure.Messaging.EventGrid.SystemEvents.MediaJobState> * Azure.Messaging.EventGrid.SystemEvents.MediaJobOutput * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.MediaJobOutputFinishedEventData
Public Shared Function MediaJobOutputFinishedEventData (Optional previousState As Nullable(Of MediaJobState) = Nothing, Optional output As MediaJobOutput = Nothing, Optional jobCorrelationData As IReadOnlyDictionary(Of String, String) = Nothing) As MediaJobOutputFinishedEventData
Parameters
- previousState
- Nullable<MediaJobState>
The previous state of the Job.
- output
- MediaJobOutput
Gets the output. Please note MediaJobOutput is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MediaJobOutputAsset.
- jobCorrelationData
- IReadOnlyDictionary<String,String>
Gets the Job correlation data.
Returns
A new MediaJobOutputFinishedEventData instance for mocking.
Applies to
Azure SDK for .NET