UITestErrorEventArgs.Error Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Exception that caused the error.

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

Syntax

'Declaration
Public ReadOnly Property Error As Exception
    Get
'Usage
Dim instance As UITestErrorEventArgs
Dim value As Exception

value = instance.Error
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

UITestErrorEventArgs Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace