NamedPipeTransportBindingElement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NamedPipeTransportBindingElement class.
Overloads
NamedPipeTransportBindingElement() |
Initializes a new instance of the NamedPipeTransportBindingElement class. |
NamedPipeTransportBindingElement(NamedPipeTransportBindingElement) |
Initializes a new instance of the NamedPipeTransportBindingElement class. |
NamedPipeTransportBindingElement()
Initializes a new instance of the NamedPipeTransportBindingElement class.
public:
NamedPipeTransportBindingElement();
public NamedPipeTransportBindingElement ();
Public Sub New ()
Examples
This example shows how to use the parameterless constructor:
NamedPipeTransportBindingElement bElement =
new NamedPipeTransportBindingElement();
Dim bElement As New NamedPipeTransportBindingElement()
Applies to
NamedPipeTransportBindingElement(NamedPipeTransportBindingElement)
Initializes a new instance of the NamedPipeTransportBindingElement class.
protected:
NamedPipeTransportBindingElement(System::ServiceModel::Channels::NamedPipeTransportBindingElement ^ elementToBeCloned);
protected NamedPipeTransportBindingElement (System.ServiceModel.Channels.NamedPipeTransportBindingElement elementToBeCloned);
new System.ServiceModel.Channels.NamedPipeTransportBindingElement : System.ServiceModel.Channels.NamedPipeTransportBindingElement -> System.ServiceModel.Channels.NamedPipeTransportBindingElement
Protected Sub New (elementToBeCloned As NamedPipeTransportBindingElement)
Parameters
- elementToBeCloned
- NamedPipeTransportBindingElement
An instance of the NamedPipeTransportBindingElement class.
Examples
This example shows how to initialize a new instance of the class:
NamedPipeTransportBindingElement bElement =
new NamedPipeTransportBindingElement();
NamedPipeConnectionPoolSettings connectionPoolSettings =
bElement.ConnectionPoolSettings;
Dim bElement As New NamedPipeTransportBindingElement()
Dim connectionPoolSettings As NamedPipeConnectionPoolSettings = bElement.ConnectionPoolSettings
Remarks
This method is a copy constructor used to clone the binding element, and is exposed so that derived classes can implement Clone.