Editar

Compartir a través de


NamedPipeTransportBindingElement Constructors

Definition

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()

Source:
NamedPipeTransportBindingElement.cs
Source:
NamedPipeTransportBindingElement.cs

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)

Source:
NamedPipeTransportBindingElement.cs
Source:
NamedPipeTransportBindingElement.cs

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.

Applies to