Del via


ProxyClientHelper Class

 

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)

Inheritance Hierarchy

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

Syntax

public static class ProxyClientHelper
Public NotInheritable Class ProxyClientHelper

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateClient(Uri)

Creates a deployment web service client, setting the URL.

System_CAPS_pubmethodSystem_CAPS_static CreateClient(Uri, TimeSpan)

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

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DefaultSendTimeout

Gets the timeout for sending requsts to the web service.

Examples

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

Thread Safety

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

See Also

Microsoft.Xrm.Sdk.Deployment.Proxy Namespace
Introduction to the deployment web service

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright