DiscoveryWebProxyClient Constructor (Uri)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of theDiscoveryWebProxyClient class using a Discovery service URL.

Namespace:   Microsoft.Xrm.Sdk.WebServiceClient
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public DiscoveryWebProxyClient(
    Uri serviceUrl
)
Public Sub New (
    serviceUrl As Uri
)

Parameters

  • serviceUrl
    Type: System.Uri

    The URL of the Discovery web service.

Remarks

The URL must contain the SDK client version. For example:

https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc/web?SdkClientVersion=7.0.0.0

See Also

SdkClientVersion
DiscoveryWebProxyClient Overload
DiscoveryWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace
Discover the OAuth endpoint URL

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright