Modifier

Partager via


HttpBinding.Verb Property

Definition

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

public:
 property System::String ^ Verb { System::String ^ get(); void set(System::String ^ value); };
public string Verb { get; set; }
member this.Verb : string with get, set
Public Property Verb As String

Property Value

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

Remarks

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

WebServices_HttpBinding#2

Applies to