GetLayoutExceptionElement Method
Collapse the table of content
Expand the table of content

LayoutInformation.GetLayoutExceptionElement Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the element that was being processed by the layout system at the moment of an unhandled exception.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

public static UIElement GetLayoutExceptionElement(
	Dispatcher dispatcher
)

Parameters

dispatcher
Type: System.Windows.Threading.Dispatcher
The Dispatcher object that defines the scope of the operation. There is one dispatcher per layout engine instance.

Return Value

Type: System.Windows.UIElement
The element being processed at the time of an unhandled exception.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft