Edit

Share via


DiscoveryClient Constructors

Definition

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