BindingFailedEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.