HttpBinding::Verb Property

 

Gets or sets a value indicating whether the HTTP request will be made using the "GET" or "POST" method.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

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

Property Value

Type: System::String^

A string containing one of two possible values, "GET" or "POST". The default value is an empty string ("").

The following example creates a new HttpBinding and sets its Verb property.

WebServices_HttpBinding#2

.NET Framework
Available since 1.1
Return to top
Show: