BindingFailedEventArgs.Message property

Applies to Windows and Windows Phone

Gets the explanation of the binding failure.

Syntax


public string Message { get; }

Property value

Type: System.String [.NET] | Platform::String [C++]

The reason the binding failed.

Remarks

BindingFailedEventArgs is used for debugging bindings, using a technique that you shouldn't include in production code. Wire the event handler using DebugSettings, and use this data class as the result in your handler. You'll mainly be interested in the Message value, which you could log or send to Debug output.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

BindingFailedEventArgs
DebugSettings.BindingFailed
Data binding overview

 

 

Show:
© 2014 Microsoft