TestMethodInvokerResult.Exception Property

Gets or sets the Exception that is thrown in the invoker.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Property Exception As Exception
public Exception Exception { get; set; }
public:
property Exception^ Exception {
    Exception^ get ();
    void set (Exception^ value);
}
member Exception : Exception with get, set
function get Exception () : Exception
function set Exception (value : Exception)

Property Value

Type: System.Exception
The Exception that is thrown in the invoker.

.NET Framework Security

See Also

Reference

TestMethodInvokerResult Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace