WebHttpBindingElement Constructors

Definition

Initializes a new instance of the WebHttpBindingElement class.

Overloads

WebHttpBindingElement()

Initializes a new instance of the WebHttpBindingElement class.

WebHttpBindingElement(String)

Initializes a new instance of the WebHttpBindingElement class and specifies the name of the element.

WebHttpBindingElement()

Initializes a new instance of the WebHttpBindingElement class.

C#
public WebHttpBindingElement();

Remarks

The name of this configuration element is set to null by default by this constructor.

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WebHttpBindingElement(String)

Initializes a new instance of the WebHttpBindingElement class and specifies the name of the element.

C#
public WebHttpBindingElement(string name);

Parameters

name
String

The name that is used for this binding configuration element.

Remarks

The default name is null in the WebHttpBindingElement().

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1