Edit

Share via


DiscoveryClientBindingElement Constructors

Definition

Initializes a new instance of the DiscoveryClientBindingElement class.

Overloads

DiscoveryClientBindingElement()

Initializes a new instance of the DiscoveryClientBindingElement class with default values.

DiscoveryClientBindingElement(DiscoveryEndpointProvider, FindCriteria)

Initializes a new instance of the DiscoveryClientBindingElement class with the specified endpoint provider and service finding criteria.

DiscoveryClientBindingElement()

Initializes a new instance of the DiscoveryClientBindingElement class with default values.

public:
 DiscoveryClientBindingElement();
public DiscoveryClientBindingElement ();
Public Sub New ()

Remarks

By default, DiscoveryEndpoint is set to UdpDiscoveryEndpoint and FindCriteria is empty.

Applies to

DiscoveryClientBindingElement(DiscoveryEndpointProvider, FindCriteria)

Initializes a new instance of the DiscoveryClientBindingElement class with the specified endpoint provider and service finding criteria.

public:
 DiscoveryClientBindingElement(System::ServiceModel::Discovery::DiscoveryEndpointProvider ^ discoveryEndpointProvider, System::ServiceModel::Discovery::FindCriteria ^ findCriteria);
public DiscoveryClientBindingElement (System.ServiceModel.Discovery.DiscoveryEndpointProvider discoveryEndpointProvider, System.ServiceModel.Discovery.FindCriteria findCriteria);
new System.ServiceModel.Discovery.DiscoveryClientBindingElement : System.ServiceModel.Discovery.DiscoveryEndpointProvider * System.ServiceModel.Discovery.FindCriteria -> System.ServiceModel.Discovery.DiscoveryClientBindingElement
Public Sub New (discoveryEndpointProvider As DiscoveryEndpointProvider, findCriteria As FindCriteria)

Parameters

discoveryEndpointProvider
DiscoveryEndpointProvider

An object that gets a discovery endpoint.

findCriteria
FindCriteria

An object that contains the information required to search for a service provider.

Applies to