Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestResponse::Method Property

 

Gets the method that is used to return the response.

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

public:
property String^ Method {
	String^ get();
	internal: void set(String^ value);
}

Property Value

Type: System::String^

A string that contains the HTTP method that is used to return the response.

Exception Condition
ObjectDisposedException

The current instance has been disposed.

Common HTTP methods are GET, HEAD, POST, PUT, and DELETE.

Return to top
Show: