IDiscoverySession2.DiscoverUrlWithMetadataExchange Method
Returns the discovery result (IDiscoveryResult) interface for a Windows Communication Foundation (WCF) service.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Déclaration
Sub DiscoverUrlWithMetadataExchange ( _
url As String, _
protocolPriority As DiscoverySessionProtocolPriority, _
resolveAllFiles As Integer, _
toolConfigurationPath As String, _
<OutAttribute> ByRef ppDiscoverResult As IDiscoveryResult _
)
void DiscoverUrlWithMetadataExchange(
string url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
string toolConfigurationPath,
out IDiscoveryResult ppDiscoverResult
)
void DiscoverUrlWithMetadataExchange(
String^ url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
String^ toolConfigurationPath,
[OutAttribute] IDiscoveryResult^% ppDiscoverResult
)
abstract DiscoverUrlWithMetadataExchange :
url:string *
protocolPriority:DiscoverySessionProtocolPriority *
resolveAllFiles:int *
toolConfigurationPath:string *
ppDiscoverResult:IDiscoveryResult byref -> unit
function DiscoverUrlWithMetadataExchange(
url : String,
protocolPriority : DiscoverySessionProtocolPriority,
resolveAllFiles : int,
toolConfigurationPath : String,
ppDiscoverResult : IDiscoveryResult
)
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.
- ppDiscoverResult
Type: Microsoft.VisualStudio.Shell.Interop.IDiscoveryResult%
Specifies the IDiscoveryResult.
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.