PostRequestEventArgs.ResponseExists 属性
获取一个值,该值指示响应是否存在。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public ReadOnly Property ResponseExists As Boolean
Get
public bool ResponseExists { get; }
public:
property bool ResponseExists {
bool get ();
}
member ResponseExists : bool
function get ResponseExists () : boolean
属性值
类型:System.Boolean
如果响应存在,则为 true;否则为 false。
备注
如果缓存了请求,或者如果在发送请求时发生异常,则该值可以为 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。