EventGridModelFactory.MediaJobOutputProcessingEventData 方法

定義

初始化 MediaJobOutputProcessingEventData 的新實例。

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

參數

previousState
Nullable<MediaJobState>

作業的上一個狀態。

output
MediaJobOutput

取得輸出。 請注意 MediaJobOutput(String, MediaJobError, String, Int64, MediaJobState) 是基類。 根據案例,可能需要在這裡指派基類的衍生類別,或此屬性必須轉換成其中一個可能的衍生類別。 可用的衍生類別包括 MediaJobOutputAsset(String, MediaJobError, String, Int64, MediaJobState, String)

jobCorrelationData
IReadOnlyDictionary<String,String>

取得作業相互關聯資料。

傳回

模擬的新 MediaJobOutputProcessingEventData 實例。

適用於