ProxyClientHelper Class

 

Updated: November 29, 2016

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

Provides helper methods to create a deployment service client class.

Namespace:   Microsoft.Xrm.Sdk.Deployment.Proxy
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

System.Object
  Microsoft.Xrm.Sdk.Deployment.Proxy.ProxyClientHelper

public static class ProxyClientHelper

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateClient(Uri)

Creates a deployment web service client, setting the URL.

System_CAPS_pubmethodSystem_CAPS_staticCreateClient(Uri, TimeSpan)

Creates a deployment web service client, setting the URL and the timeout.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDefaultSendTimeout

Gets the timeout for sending requsts to the web service.


DeploymentServiceClient service = Microsoft.Xrm.Sdk.Deployment.Proxy.ProxyClientHelper.CreateClient(new Uri("http://MyServerName/XRMDeployment/2011/Deployment.svc"));


Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: