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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace