NetPeerTcpBinding 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 NetPeerTcpBinding class.
Overloads
NetPeerTcpBinding() |
Initializes a new default instance of the NetPeerTcpBinding class. |
NetPeerTcpBinding(String) |
Initializes a new instance of the NetPeerTcpBinding class with a specified configuration name. |
NetPeerTcpBinding()
Initializes a new default instance of the NetPeerTcpBinding class.
public:
NetPeerTcpBinding();
public NetPeerTcpBinding ();
Public Sub New ()
Applies to
NetPeerTcpBinding(String)
Initializes a new instance of the NetPeerTcpBinding class with a specified configuration name.
public:
NetPeerTcpBinding(System::String ^ configurationName);
public NetPeerTcpBinding (string configurationName);
new System.ServiceModel.NetPeerTcpBinding : string -> System.ServiceModel.NetPeerTcpBinding
Public Sub New (configurationName As String)
Parameters
- configurationName
- String
The value of the configurationName
attribute that identifies the binding element whose settings are used to initialize the binding.
Exceptions
The configuration is invalid.
Remarks
This constructor creates a new NetPeerTcpBinding with the supplied name. If a configuration for that name already exists, the settings in the configuration file that contains that name are used. If the name does not already exist, the default configuration settings are used.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기