DiscoveryClientBindingElement Constructor (DiscoveryEndpointProvider, FindCriteria)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ServiceModel.Discovery
Assembly:  System.ServiceModel.Discovery (in System.ServiceModel.Discovery.dll)

public DiscoveryClientBindingElement(
	DiscoveryEndpointProvider discoveryEndpointProvider,
	FindCriteria findCriteria
)

Parameters

discoveryEndpointProvider
Type: System.ServiceModel.Discovery.DiscoveryEndpointProvider

An object that gets a discovery endpoint.

findCriteria
Type: System.ServiceModel.Discovery.FindCriteria

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

.NET Framework
Available since 4.0
Return to top
Show: