RuleResult.Exception Property
Gets or sets the exception.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Exception As Exception
public Exception Exception { get; internal set; }
public:
property Exception^ Exception {
Exception^ get ();
internal: void set (Exception^ value);
}
member Exception : Exception with get, internal set
function get Exception () : Exception
internal function set Exception (value : Exception)
Property Value
Type: Exception
The exception that was thrown when the rule was executed, or nulla null reference (Nothing in Visual Basic) if no exception was thrown.
.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.