ServiceRequestedEventHandler Delegate

Definition

Represents the method that handles the data passed by the MediaProtectionManager when the resume operation is completed.

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)

Parameters

sender
MediaProtectionManager

Contains the MediaProtectionManager object that is requesting the service.

e
ServiceRequestedEventArgs

Contains event data for a MediaProtectionManager object when a service is requested.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to