共用方式為


EventGridModelFactory.MediaJobCancelingEventData 方法

定義

初始化 MediaJobCancelingEventData 的新實例。

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

參數

previousState
Nullable<MediaJobState>

作業的上一個狀態。

state
Nullable<MediaJobState>

作業的新狀態。

correlationData
IReadOnlyDictionary<String,String>

取得作業相互關聯資料。

傳回

模擬的新 MediaJobCancelingEventData 實例。

適用於