共用方式為


EventGridModelFactory.MediaJobScheduledEventData 方法

定義

初始化 MediaJobScheduledEventData 的新實例。

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

參數

previousState
Nullable<MediaJobState>

作業的先前狀態。

state
Nullable<MediaJobState>

Job 的新狀態。

correlationData
IReadOnlyDictionary<String,String>

取得作業相互關聯資料。

傳回

模擬的新 MediaJobScheduledEventData 實例。

適用於