Aracılığıyla paylaş


HttpTransportBindingElement Oluşturucular

Tanım

sınıfının yeni bir örneğini HttpTransportBindingElementbaşlatır.

Aşırı Yüklemeler

HttpTransportBindingElement()

HttpTransportBindingElement sınıfının yeni bir örneğini başlatır.

HttpTransportBindingElement(HttpTransportBindingElement)

Başka bir bağlama öğesi kullanarak sınıfının yeni bir örneğini HttpTransportBindingElement başlatır.

HttpTransportBindingElement()

Kaynak:
HttpTransportBindingElement.cs
Kaynak:
HttpTransportBindingElement.cs
Kaynak:
HttpTransportBindingElement.cs

HttpTransportBindingElement sınıfının yeni bir örneğini başlatır.

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

Şunlara uygulanır

HttpTransportBindingElement(HttpTransportBindingElement)

Kaynak:
HttpTransportBindingElement.cs
Kaynak:
HttpTransportBindingElement.cs
Kaynak:
HttpTransportBindingElement.cs

Başka bir bağlama öğesi kullanarak sınıfının yeni bir örneğini HttpTransportBindingElement başlatır.

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)

Parametreler

elementToBeCloned
HttpTransportBindingElement

HttpTransportBindingElement Bu örneği başlatmak için kullanılan bir nesne.

Örnekler

Aşağıdaki örnekte türetilmiş bir sınıfta kopya oluşturucunun nasıl kullanılacağı gösterilmektedir.

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

Açıklamalar

Bu yöntem, bağlamayı kopyalamak için kullanılan bir kopya oluşturucudur.

Şunlara uygulanır