获取指示页面请求和响应结果的值。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public ReadOnly Property PageOutcome As Outcome
Get
public Outcome PageOutcome { get; }
public:
property Outcome PageOutcome {
Outcome get ();
}
member PageOutcome : Outcome
function get PageOutcome () : Outcome
属性值
类型:Microsoft.VisualStudio.TestTools.WebTesting.Outcome
指示页面请求和响应结果的值,不是 Pass,就是 Fail。
备注
仅当对页面的所有 WebTestRequests 的结果均为 Pass 时,该值才为 Pass。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。