Share via


BindingFailedEventHandler Delegate

Definition

Represents the method that will handle the DebugSettings.BindingFailed event.

public delegate void BindingFailedEventHandler(Platform::Object ^ sender, BindingFailedEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2736130736, 43177, 24376, 175, 23, 92, 217, 26, 43, 51, 245)]
public delegate void BindingFailedEventHandler(object sender, BindingFailedEventArgs e);
Public Delegate Sub BindingFailedEventHandler(sender As Object, e As BindingFailedEventArgs)

Parameters

sender
Object

Platform::Object

The source of the event.

e
BindingFailedEventArgs

The event data.

Attributes

Remarks

IsBindingTracingEnabled must be true and there must be a debugger attached to the app process in order for BindingFailed to occur and for tracing to appear in debugger output. You don't need to handle the event in order to see tracing appear in a debugger. The debugger output contains message information that goes to the Output window of the debugger. Attaching a BindingFailed handler yourself is an advanced scenario for when you want to see the raw message.

Applies to

See also