RunInfo.Exception Property
Gets the Exception, if any, that resulted from the test run.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public ReadOnly Property Exception As Exception
public Exception Exception { get; }
public:
property Exception^ Exception {
Exception^ get ();
}
member Exception : Exception with get
function get Exception () : Exception
Property Value
Type: Exception
An Exception or nulla null reference (Nothing in Visual Basic).
.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.