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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應