IDiscoverySession2.DiscoverUrlAsyncWithMetadataExchange Yöntem

Tanım

IDiscoveryResultWindows Communication Foundation (WCF) hizmeti için bulma sonucu () arabirimini zaman uyumsuz olarak döndürür.

public:
 void DiscoverUrlAsyncWithMetadataExchange(System::String ^ url, Microsoft::VisualStudio::WCFReference::Interop::DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, System::String ^ toolConfigurationPath, Microsoft::VisualStudio::Shell::Interop::IDiscoverUrlCallBack ^ pDiscoverUrlCallBack, [Runtime::InteropServices::Out] int % pCookieID);
void DiscoverUrlAsyncWithMetadataExchange(std::wstring const & url, Microsoft::VisualStudio::WCFReference::Interop::DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, std::wstring const & toolConfigurationPath, Microsoft::VisualStudio::Shell::Interop::IDiscoverUrlCallBack const & pDiscoverUrlCallBack, [Runtime::InteropServices::Out] int & pCookieID);
public void DiscoverUrlAsyncWithMetadataExchange (string url, Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority protocolPriority, int resolveAllFiles, string toolConfigurationPath, Microsoft.VisualStudio.Shell.Interop.IDiscoverUrlCallBack pDiscoverUrlCallBack, out int pCookieID);
abstract member DiscoverUrlAsyncWithMetadataExchange : string * Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority * int * string * Microsoft.VisualStudio.Shell.Interop.IDiscoverUrlCallBack * int -> unit
Public Sub DiscoverUrlAsyncWithMetadataExchange (url As String, protocolPriority As DiscoverySessionProtocolPriority, resolveAllFiles As Integer, toolConfigurationPath As String, pDiscoverUrlCallBack As IDiscoverUrlCallBack, ByRef pCookieID As Integer)

Parametreler

url
String

Bulma oturumunun URL 'sini belirtir.

protocolPriority
DiscoverySessionProtocolPriority

DiscoverySessionProtocolPriorityTercih edilen protokolü belirten bir sabit listesi.

resolveAllFiles
Int32

çözümlenemeyen dosyaları atlamak için 0; Aksi takdirde 1.

toolConfigurationPath
String

Yapılandırma dosyasının konumunu belirtir.

pDiscoverUrlCallBack
IDiscoverUrlCallBack

IDiscoverUrlCallBackArabirim işaretçisi. Bu arabirim S_OK bulma tamamlandığında döndürür.

pCookieID
Int32

Bulma sonucunu tanımlayan bir tanımlama bilgisi belirtir.

Açıklamalar

İşlemi iptal etmek için CancelDiscoverUrl arabirimin yöntemini çağırın IDiscoverySession .

Şunlara uygulanır