Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the discovery result (IDiscoveryResult) interface for a Windows Communication Foundation (WCF) service asynchronously.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Sub DiscoverUrlAsyncWithMetadataExchange ( _
url As String, _
protocolPriority As DiscoverySessionProtocolPriority, _
resolveAllFiles As Integer, _
toolConfigurationPath As String, _
pDiscoverUrlCallBack As IDiscoverUrlCallBack, _
<OutAttribute> ByRef pCookieID As Integer _
)
void DiscoverUrlAsyncWithMetadataExchange(
string url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
string toolConfigurationPath,
IDiscoverUrlCallBack pDiscoverUrlCallBack,
out int pCookieID
)
void DiscoverUrlAsyncWithMetadataExchange(
String^ url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
String^ toolConfigurationPath,
IDiscoverUrlCallBack^ pDiscoverUrlCallBack,
[OutAttribute] int% pCookieID
)
abstract DiscoverUrlAsyncWithMetadataExchange :
url:string *
protocolPriority:DiscoverySessionProtocolPriority *
resolveAllFiles:int *
toolConfigurationPath:string *
pDiscoverUrlCallBack:IDiscoverUrlCallBack *
pCookieID:int byref -> unit
function DiscoverUrlAsyncWithMetadataExchange(
url : String,
protocolPriority : DiscoverySessionProtocolPriority,
resolveAllFiles : int,
toolConfigurationPath : String,
pDiscoverUrlCallBack : IDiscoverUrlCallBack,
pCookieID : int
)
Parameters
- url
Type: System.String
Specifies the URL for the discovery session.
- protocolPriority
Type: Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority
A DiscoverySessionProtocolPriority enumeration specifying the preferred protocol.
- resolveAllFiles
Type: System.Int32
0 to skip files that cannot be resolved; otherwise 1.
- toolConfigurationPath
Type: System.String
Specifies the location of the configuration file.
- pDiscoverUrlCallBack
Type: Microsoft.VisualStudio.Shell.Interop.IDiscoverUrlCallBack
Pointer to the IDiscoverUrlCallBack interface. This interface returns S_OK when the discovery is completed.
- pCookieID
Type: System.Int32%
Specifies a cookie that identifies the discovery result.
Remarks
To cancel the operation, call the CancelDiscoverUrl method of the IDiscoverySession interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.