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 安全性

请参见

参考

PostRequestEventArgs 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间