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: System.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

See Also

Reference

RuleResult Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace