ExceptionRoutedEventHandler ExceptionRoutedEventHandler ExceptionRoutedEventHandler ExceptionRoutedEventHandler Delegate

Definition

Represents the method that will handle certain events that report exceptions. These exceptions generally come from asynchronous operations.

public : delegate void ExceptionRoutedEventHandler(Platform::Object sender, ExceptionRoutedEventArgs e)
struct ExceptionRoutedEventHandler : winrt::Windows::Foundation::IUnknown
{
   ExceptionRoutedEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> ExceptionRoutedEventHandler(L lambda);
   template <typename F> ExceptionRoutedEventHandler(F* function);
   template <typename O, typename M> ExceptionRoutedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::ExceptionRoutedEventArgs const& e) const;
};
public delegate void ExceptionRoutedEventHandler(Object sender, ExceptionRoutedEventArgs e)
Public Delegate Sub ExceptionRoutedEventHandler(sender As Object, e As ExceptionRoutedEventArgs)
Parameters
sender
Object Object

The object where the handler is attached.

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

See Also