Share via


DiscoverySessionProtocolPriority Enumeration

Provides an enumeration for use in discovering Windows Communication Foundation (WCF) services.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'Declaration
Public Enumeration DiscoverySessionProtocolPriority
public enum DiscoverySessionProtocolPriority
public enum class DiscoverySessionProtocolPriority
type DiscoverySessionProtocolPriority
public enum DiscoverySessionProtocolPriority

Members

Member name Description
DSPP_NoPriority Use either protocol.
DSPP_DiscoveryProtocolFirst Use the DiscoveryClientProtocol protocol first.
DSPP_MetadataExchangeFirst Use the IMetadataExchange protocol first.

Remarks

DiscoverySessionProtocolPriority is used by the IDiscoverySession2 interface, which enables a client to specify which protocol to use when a server supports both discovery protocols.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace