UITestErrorEventArgs.Error Property

Gets the Exception that caused the error.

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

Syntax

'Declaration
Public ReadOnly Property Error As Exception
public Exception Error { get; }
public:
property Exception^ Error {
    Exception^ get ();
}
member Error : Exception
function get Error () : Exception

Property Value

Type: System.Exception
The exception that caused the error.

.NET Framework Security

See Also

Reference

UITestErrorEventArgs Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace