共用方式為


EventGridModelFactory.MediaJobOutputFinishedEventData 方法

定義

初始化 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

參數

previousState
Nullable<MediaJobState>

作業的先前狀態。

output
MediaJobOutput

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

jobCorrelationData
IReadOnlyDictionary<String,String>

取得作業相互關聯資料。

傳回

模擬的新 MediaJobOutputFinishedEventData 實例。

適用於