OrganizationWebProxyClient Constructor (Uri, TimeSpan, Boolean)


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

Initializes a new instance of theOrganizationWebProxyClient class using an Organization service URL and time span.

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


public OrganizationWebProxyClient(
    Uri serviceUrl,
    TimeSpan timeout,
    bool useStrongTypes
Public Sub New (
    serviceUrl As Uri,
    timeout As TimeSpan,
    useStrongTypes As Boolean


  • serviceUrl
    Type: System.Uri

    Type: URI. The URL of the Organization web service.

  • timeout
    Type: System.TimeSpan

    Type: TimeSpan. The maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.


The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:

See Also

OrganizationWebProxyClient Overload
OrganizationWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright