LastResponseCodeRule.ResponseCode 属性

获取或设置响应代码。

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

语法

声明
Public Property ResponseCode As WebTestResponseCode
    Get
    Set
public WebTestResponseCode ResponseCode { get; set; }
public:
property WebTestResponseCode ResponseCode {
    WebTestResponseCode get ();
    void set (WebTestResponseCode value);
}
member ResponseCode : WebTestResponseCode with get, set
function get ResponseCode () : WebTestResponseCode
function set ResponseCode (value : WebTestResponseCode)

属性值

类型:Microsoft.VisualStudio.TestTools.WebTesting.WebTestResponseCode
响应代码。

.NET Framework 安全性

请参见

参考

LastResponseCodeRule 类

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