ComponentLoadFailedEventHandler 委托

定义

表示在加载二进制数据失败时处理 MediaProtectionManager 传递的数据的方法。

public delegate void ComponentLoadFailedEventHandler(MediaProtectionManager ^ sender, ComponentLoadFailedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2514117692, 28089, 16971, 134, 202, 9, 26, 244, 50, 8, 28)]
class ComponentLoadFailedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2514117692, 28089, 16971, 134, 202, 9, 26, 244, 50, 8, 28)]
public delegate void ComponentLoadFailedEventHandler(MediaProtectionManager sender, ComponentLoadFailedEventArgs e);
var componentLoadFailedEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub ComponentLoadFailedEventHandler(sender As MediaProtectionManager, e As ComponentLoadFailedEventArgs)

参数

sender
MediaProtectionManager

包含加载失败时正在加载二进制数据的 MediaProtectionManager 对象。

e
ComponentLoadFailedEventArgs

包含二进制数据加载失败时 MediaProtectionManager 对象的事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于