IDiscoverySession2.DiscoverUrlWithMetadataExchange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the discovery result (IDiscoveryResult) interface for a Windows Communication Foundation (WCF) service.
public:
void DiscoverUrlWithMetadataExchange(System::String ^ url, Microsoft::VisualStudio::WCFReference::Interop::DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, System::String ^ toolConfigurationPath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult ^ % ppDiscoverResult);
public:
void DiscoverUrlWithMetadataExchange(Platform::String ^ url, Microsoft::VisualStudio::WCFReference::Interop::DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, Platform::String ^ toolConfigurationPath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult ^ & ppDiscoverResult);
void DiscoverUrlWithMetadataExchange(std::wstring const & url, Microsoft::VisualStudio::WCFReference::Interop::DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, std::wstring const & toolConfigurationPath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoveryResult const & & ppDiscoverResult);
public void DiscoverUrlWithMetadataExchange (string url, Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, string toolConfigurationPath, out Microsoft.VisualStudio.Shell.Interop.IDiscoveryResult ppDiscoverResult);
abstract member DiscoverUrlWithMetadataExchange : string * Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority * int * string * IDiscoveryResult -> unit
Public Sub DiscoverUrlWithMetadataExchange (url As String, protocolPriority As DiscoverySessionProtocolPriority, resolveAllFiles As Integer, toolConfigurationPath As String, ByRef ppDiscoverResult As IDiscoveryResult)
Parameters
- url
- String
Specifies the URL for the discovery session.
- protocolPriority
- DiscoverySessionProtocolPriority
A DiscoverySessionProtocolPriority enumeration specifying the preferred protocol.
- resolveAllFiles
- Int32
0 to skip files that cannot be resolved; otherwise 1.
- toolConfigurationPath
- String
Specifies the location of the configuration file.
- ppDiscoverResult
- IDiscoveryResult
Specifies the IDiscoveryResult.
Remarks
To cancel the operation, call the CancelDiscoverUrl method of the IDiscoverySession interface.