ConfigurationChannelFactory<TChannel> Constructor
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.
Creates a new instance of the ConfigurationChannelFactory<TChannel> class with the specified endpoint configuration name, Configuration object, and the EndpointAddress object.
public:
ConfigurationChannelFactory(System::String ^ endpointConfigurationName, System::Configuration::Configuration ^ configuration, System::ServiceModel::EndpointAddress ^ remoteAddress);
public ConfigurationChannelFactory (string endpointConfigurationName, System.Configuration.Configuration configuration, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.Configuration.ConfigurationChannelFactory<'Channel> : string * System.Configuration.Configuration * System.ServiceModel.EndpointAddress -> System.ServiceModel.Configuration.ConfigurationChannelFactory<'Channel>
Public Sub New (endpointConfigurationName As String, configuration As Configuration, remoteAddress As EndpointAddress)
Parameters
- endpointConfigurationName
- String
The name property in an endpoint configuration element.
- configuration
- Configuration
The settings that define the information in the endpoint element.
- remoteAddress
- EndpointAddress
The IP address of a destination endpoint in a client or server session. This parameter may be set to null
to indicate the endpoint address should be taken from the configuration element specified in the configuration
parameter.
Exceptions
endpointConfigurationName
or configuration
is null
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기