LastResponseCodeRule.ResponseCode Property

Gets or sets the response code.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property ResponseCode As WebTestResponseCode
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)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestResponseCode
The response code.

.NET Framework Security

See Also

Reference

LastResponseCodeRule Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace