Udostępnij za pośrednictwem


DiscoveryWebProxyClient Constructor (Uri)

 

Applies To: Dynamics CRM 2015

Initializes a new instance of the DiscoveryWebProxyClient 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:
DiscoveryWebProxyClient(
    Uri^ serviceUrl
)
new : 
        serviceUrl:Uri -> DiscoveryWebProxyClient
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

© 2016 Microsoft. All rights reserved. Copyright