ServiceRequestedEventHandler ServiceRequestedEventHandler ServiceRequestedEventHandler ServiceRequestedEventHandler 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)
struct ServiceRequestedEventHandler : winrt::Windows::Foundation::IUnknown
{
   ServiceRequestedEventHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> ServiceRequestedEventHandler(L lambda);
   template <typename F> ServiceRequestedEventHandler(F* function);
   template <typename O, typename M> ServiceRequestedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& sender) const;
};
public delegate void ServiceRequestedEventHandler(MediaProtectionManager sender, ServiceRequestedEventArgs e)
Public Delegate ServiceRequestedEventHandler(sender As MediaProtectionManager, e As ServiceRequestedEventArgs)
var serviceRequestedEventHandler = function(sender, e) {

 /* Your code */

}
Parameters
sender
MediaProtectionManager MediaProtectionManager MediaProtectionManager

Contains the MediaProtectionManager object that is requesting the service.

e
ServiceRequestedEventArgs ServiceRequestedEventArgs ServiceRequestedEventArgs

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

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)