DiscoveryClient 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.
Creates a new instance of the DiscoveryClient class.
Overloads
DiscoveryClient() |
Creates a new instance of the DiscoveryClient class. |
DiscoveryClient(DiscoveryEndpoint) |
Creates a new instance of the DiscoveryClient class with the specified discovery endpoint. |
DiscoveryClient(String) |
Creates a new instance of the DiscoveryClient class with the specified endpoint configuration. |
DiscoveryClient()
Creates a new instance of the DiscoveryClient class.
public:
DiscoveryClient();
public DiscoveryClient ();
Public Sub New ()
Applies to
DiscoveryClient(DiscoveryEndpoint)
Creates a new instance of the DiscoveryClient class with the specified discovery endpoint.
public:
DiscoveryClient(System::ServiceModel::Discovery::DiscoveryEndpoint ^ discoveryEndpoint);
public DiscoveryClient (System.ServiceModel.Discovery.DiscoveryEndpoint discoveryEndpoint);
new System.ServiceModel.Discovery.DiscoveryClient : System.ServiceModel.Discovery.DiscoveryEndpoint -> System.ServiceModel.Discovery.DiscoveryClient
Public Sub New (discoveryEndpoint As DiscoveryEndpoint)
Parameters
- discoveryEndpoint
- DiscoveryEndpoint
The discovery endpoint to use when sending discovery messages.
Applies to
DiscoveryClient(String)
Creates a new instance of the DiscoveryClient class with the specified endpoint configuration.
public:
DiscoveryClient(System::String ^ endpointConfigurationName);
public DiscoveryClient (string endpointConfigurationName);
new System.ServiceModel.Discovery.DiscoveryClient : string -> System.ServiceModel.Discovery.DiscoveryClient
Public Sub New (endpointConfigurationName As String)
Parameters
- endpointConfigurationName
- String
The endpoint configuration name to use.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈