IDiscoverySession2 Interface
Visual Studio 2015
Provides an interface for returning Windows Communication Foundation (WCF) metadata by using the metadata exchange protocol.
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | DiscoverUrlAsyncWithMetadataExchange(String, DiscoverySessionProtocolPriority, Int32, String, IDiscoverUrlCallBack, Int32) | Returns the discovery result (IDiscoveryResult) interface for a Windows Communication Foundation (WCF) service asynchronously. |
![]() | DiscoverUrlWithMetadataExchange(String, DiscoverySessionProtocolPriority, Int32, String, IDiscoveryResult) | Returns the discovery result (IDiscoveryResult) interface for a Windows Communication Foundation (WCF) service. |
The IDiscoverySession2 interface extends the IDiscoverySession interface to support the newer metadata exchange protocol. It contains two methods, DiscoverUrlAsyncWithMetadataExchange and DiscoverUrlWithMetadataExchange which are the equivalent of the DiscoverUrlAsync and DiscoverUrl methods of IDiscoverySession.
Show:
