BindingFailedEventHandler Delegate

Definition

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

C#
[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);

Parameters

sender
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

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also