共用方式為


ServiceRequestedEventHandler 代理人

定義

表示當繼續作業完成時,處理 MediaProtectionManager 所傳遞資料的方法。

public delegate void ServiceRequestedEventHandler(MediaProtectionManager ^ sender, ServiceRequestedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3537277114, 51913, 18657, 149, 192, 211, 132, 149, 168, 64, 85)]
class ServiceRequestedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3537277114, 51913, 18657, 149, 192, 211, 132, 149, 168, 64, 85)]
public delegate void ServiceRequestedEventHandler(MediaProtectionManager sender, ServiceRequestedEventArgs e);
var serviceRequestedEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub ServiceRequestedEventHandler(sender As MediaProtectionManager, e As ServiceRequestedEventArgs)

參數

sender
MediaProtectionManager

包含要求服務的 MediaProtectionManager 物件。

e
ServiceRequestedEventArgs

包含要求服務時 MediaProtectionManager 物件的事件資料。

屬性

Windows 需求

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

適用於