HttpTransportBindingElement Konstruktoren

Definition

Initialisiert eine neue Instanz der HttpTransportBindingElementKlasse.

Überlädt

Name Beschreibung
HttpTransportBindingElement()

Initialisiert eine neue Instanz der HttpTransportBindingElement-Klasse.

HttpTransportBindingElement(HttpTransportBindingElement)

Initialisiert eine neue Instanz der HttpTransportBindingElement Klasse mithilfe eines anderen Bindungselements.

HttpTransportBindingElement()

Quelle:
HttpTransportBindingElement.cs
Quelle:
HttpTransportBindingElement.cs
Quelle:
HttpTransportBindingElement.cs

Initialisiert eine neue Instanz der HttpTransportBindingElement-Klasse.

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

Gilt für:

HttpTransportBindingElement(HttpTransportBindingElement)

Quelle:
HttpTransportBindingElement.cs
Quelle:
HttpTransportBindingElement.cs
Quelle:
HttpTransportBindingElement.cs

Initialisiert eine neue Instanz der HttpTransportBindingElement Klasse mithilfe eines anderen Bindungselements.

protected:
 HttpTransportBindingElement(System::ServiceModel::Channels::HttpTransportBindingElement ^ elementToBeCloned);
protected HttpTransportBindingElement(System.ServiceModel.Channels.HttpTransportBindingElement elementToBeCloned);
new System.ServiceModel.Channels.HttpTransportBindingElement : System.ServiceModel.Channels.HttpTransportBindingElement -> System.ServiceModel.Channels.HttpTransportBindingElement
Protected Sub New (elementToBeCloned As HttpTransportBindingElement)

Parameter

elementToBeCloned
HttpTransportBindingElement

Ein HttpTransportBindingElement Objekt, das zum Initialisieren dieser Instanz verwendet wird.

Beispiele

Das folgende Beispiel zeigt, wie der Kopierkonstruktor in einer abgeleiteten Klasse verwendet wird.

public class MyBindingElement : HttpTransportBindingElement
{
    public MyBindingElement(MyBindingElement elementToBeCloned) : base(elementToBeCloned)
    {
    }
}

Hinweise

Diese Methode ist ein Kopierkonstruktor, der zum Klonen der Bindung verwendet wird.

Gilt für: