Share via


UITestException.ExceptionSource Property

Gets or sets the control that is the source of this exception.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Property ExceptionSource As Object
public Object ExceptionSource { get; set; }
public:
property Object^ ExceptionSource {
    Object^ get ();
    void set (Object^ value);
}
member ExceptionSource : Object with get, set
function get ExceptionSource () : Object
function set ExceptionSource (value : Object)

Property Value

Type: System.Object
The control that is the source of the exception.

.NET Framework Security

See Also

Reference

UITestException Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace