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);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1174124637, 21753, 23082, 138, 56, 0, 163, 183, 118, 31, 150)]
[Windows.Foundation.Metadata.WebHostHidden]
public delegate void ExceptionRoutedEventHandler(object sender, ExceptionRoutedEventArgs e);
Public Delegate Sub ExceptionRoutedEventHandler(sender As Object, e As ExceptionRoutedEventArgs)

Parameters

sender
Object

The object where the handler is attached.

e
ExceptionRoutedEventArgs

The event data.

Attributes
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.GuidAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

Applies to

See also

  • <xref:Microsoft.UI.Xaml.Controls.MediaElement.MediaFailed>
  • ImageFailed