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: Exception
The Exception that is thrown in the invoker.
.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.