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

void DiscoverUrlWithMetadataExchange(
    string url,
    DiscoverySessionProtocolPriority protocolPriority,
    int resolveAllFiles,
    string toolConfigurationPath,
    out IDiscoveryResult ppDiscoverResult
)

Parameters

  • url
    Type: String
    Specifies the URL for the discovery session.
  • resolveAllFiles
    Type: Int32
    0 to skip files that cannot be resolved; otherwise 1.
  • toolConfigurationPath
    Type: String
    Specifies the location of the configuration file.

Remarks

To cancel the operation, call the CancelDiscoverUrl method of the IDiscoverySession interface.

.NET Framework Security

See Also

Reference

IDiscoverySession2 Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace