ServiceRequestedEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for