Share via


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

See Also

Reference

RunInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace