Język

HttpTransportBindingElement Konstruktory

Definicja

Inicjuje HttpTransportBindingElementnowe wystąpienie klasy.

Przeciążenia

Nazwa Opis
HttpTransportBindingElement()

Inicjuje nowe wystąpienie klasy HttpTransportBindingElement.

HttpTransportBindingElement(HttpTransportBindingElement)

Inicjuje HttpTransportBindingElement nowe wystąpienie klasy przy użyciu innego elementu powiązania.

HttpTransportBindingElement()

Źródło:
HttpTransportBindingElement.cs
Źródło:
HttpTransportBindingElement.cs
Źródło:
HttpTransportBindingElement.cs

Inicjuje nowe wystąpienie klasy HttpTransportBindingElement.

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

Dotyczy

HttpTransportBindingElement(HttpTransportBindingElement)

Źródło:
HttpTransportBindingElement.cs
Źródło:
HttpTransportBindingElement.cs
Źródło:
HttpTransportBindingElement.cs

Inicjuje HttpTransportBindingElement nowe wystąpienie klasy przy użyciu innego elementu powiązania.

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)

Parametry

elementToBeCloned
HttpTransportBindingElement

Obiekt HttpTransportBindingElement używany do inicjowania tego wystąpienia.

Przykłady

W poniższym przykładzie pokazano, jak używać konstruktora kopiowania w klasie pochodnej.

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

Uwagi

Ta metoda jest konstruktorem kopii używanym do klonowania powiązania.

Dotyczy