Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DiscoveryEndpoint Constructor (DiscoveryVersion^, ServiceDiscoveryMode, Binding^, EndpointAddress^)

.NET Framework (current version)
 

Initializes a new instance of the DiscoveryEndpoint class with the specified discovery version, mode, binding, and endpoint address.

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

public:
DiscoveryEndpoint(
	DiscoveryVersion^ discoveryVersion,
	ServiceDiscoveryMode discoveryMode,
	Binding^ binding,
	EndpointAddress^ endpointAddress
)

Parameters

discoveryVersion
Type: System.ServiceModel.Discovery::DiscoveryVersion^

An enumerated value representing one of the versions of the WS-Discovery protocols.

discoveryMode
Type: System.ServiceModel.Discovery::ServiceDiscoveryMode

An enumerated value representing one of the modes used to send discovery messages.

binding
Type: System.ServiceModel.Channels::Binding^

The binding elements that specify the protocols, transports, and message encoders used for communication between clients and services.

endpointAddress
Type: System.ServiceModel::EndpointAddress^

The unique address of the discovery endpoint.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft