BindingFailedEventHandler BindingFailedEventHandler BindingFailedEventHandler BindingFailedEventHandler Delegate


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

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


Object Object

The source of the event.


Windows 10 requirements

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


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.

See also