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 事件关联的异步操作已完成。

适用于