Export (0) Print
Expand All

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 string Verb { get; set; }

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft