Redigera

Dela via


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.

public:
 WebHttpBindingElement();
public WebHttpBindingElement ();
Public Sub New ()

Remarks

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

Applies to

WebHttpBindingElement(String)

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

public:
 WebHttpBindingElement(System::String ^ name);
public WebHttpBindingElement (string name);
new System.ServiceModel.Configuration.WebHttpBindingElement : string -> System.ServiceModel.Configuration.WebHttpBindingElement
Public Sub New (name As String)

Parameters

name
String

The name that is used for this binding configuration element.

Remarks

The default name is null in the WebHttpBindingElement().

Applies to