RuleResult.Exception 属性

获取或设置异常。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property Exception As Exception
    Get
    Friend Set
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)

属性值

类型:System.Exception
执行规则时引发的异常,或没有引发异常时的 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

RuleResult 类

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空间