WebProxyClient Constructor

 

Updated: November 29, 2016

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

Initializes a new instance of theWebProxyClient class using an Organization service URL, a time span, and an assembly.

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

No code example is currently available or this language may not be supported.

Parameters

serviceUrl
Type:

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

timeout
Type:

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.

strongTypeAssembly
Type:

Type: Assembly. An assembly containing early-bound types.

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:

https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0

The timeout is passed to the SendTimeout, ReceiveTimeout, and OpenTimeout properties on the WCF channel binding.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: