ComponentLoadFailedEventHandler ComponentLoadFailedEventHandler ComponentLoadFailedEventHandler ComponentLoadFailedEventHandler ComponentLoadFailedEventHandler Delegate

Definition

Represents the method that handles the data passed by the MediaProtectionManager when a load of binary data fails.

public : delegate void ComponentLoadFailedEventHandler(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
struct ComponentLoadFailedEventHandler : winrt::Windows::Foundation::IUnknown
{
   ComponentLoadFailedEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> ComponentLoadFailedEventHandler(L lambda);
   template <typename F> ComponentLoadFailedEventHandler(F* function);
   template <typename O, typename M> ComponentLoadFailedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Media::Protection::MediaProtectionManager const& sender, winrt::Windows::Media::Protection::ComponentLoadFailedEventArgs const& e) const;
};
public delegate void ComponentLoadFailedEventHandler(MediaProtectionManager sender, ComponentLoadFailedEventArgs e)
Public Delegate Sub ComponentLoadFailedEventHandler(sender As MediaProtectionManager, e As ComponentLoadFailedEventArgs)
var componentLoadFailedEventHandler = function(sender, e) {

 /* Your code */

}
Parameters
sender
MediaProtectionManager MediaProtectionManager MediaProtectionManager

Contains the MediaProtectionManager object that was loading the binary data when the load failed.

e
ComponentLoadFailedEventArgs ComponentLoadFailedEventArgs ComponentLoadFailedEventArgs

Contains event data for a MediaProtectionManager object when the load of binary data fails.

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