HttpTransportBindingElement Constructor (HttpTransportBindingElement^)
.NET Framework (current version)
Initializes a new instance of the HttpTransportBindingElement class using another binding element.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- elementToBeCloned
-
Type:
System.ServiceModel.Channels::HttpTransportBindingElement^
An HttpTransportBindingElement object used to initialize this instance.
This method is a copy constructor used to clone the binding.
The following example shows how to use the copy constructor in a derived class.
[C#]
public class MyBindingElement : HttpTransportBindingElement
{
public MyBindingElement(MyBindingElement elementToBeCloned) : base(elementToBeCloned)
{
}
}
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: