Share via


WebTest.LastResponse Property

Gets the last response received for a top-level request in this Web test.

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

Syntax

'Declaration
Public Property LastResponse As WebTestResponse
'Usage
Dim instance As WebTest 
Dim value As WebTestResponse 

value = instance.LastResponse

instance.LastResponse = value
public WebTestResponse LastResponse { get; internal set; }
public:
property WebTestResponse^ LastResponse {
    WebTestResponse^ get ();
    void set (WebTestResponse^ value);
}
public function get LastResponse () : WebTestResponse 
public function set LastResponse (value : WebTestResponse)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestResponse
A WebTestResponse object.

.NET Framework Security

See Also

Reference

WebTest Class

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace