AdaptiveMediaSourceDownloadRequestedDeferral 類別

定義

表示延遲,可用來延遲 DownloadRequested 事件的完成,讓應用程式可以非同步下載媒體內容。

public ref class AdaptiveMediaSourceDownloadRequestedDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDownloadRequestedDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDownloadRequestedDeferral
Public NotInheritable Class AdaptiveMediaSourceDownloadRequestedDeferral
繼承
Object Platform::Object IInspectable AdaptiveMediaSourceDownloadRequestedDeferral
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

若要取得這個類別的實例,請呼叫 AdaptiveMediaSourceDownloadRequestedEventargs.GetDeferral

方法

Complete()

通知系統,與 DownloadRequested 事件相關聯的非同步作業已完成。

適用於