你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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 , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 MediaJobOutputAsset

jobCorrelationData
IReadOnlyDictionary<String,String>

获取作业相关数据。

返回

用于模拟的新 MediaJobOutputFinishedEventData 实例。

适用于