ServiceProxy 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 the ServiceProxy class using a service configuration and client logon credentials.

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

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

Parameters

serviceConfiguration
Type:

Type: IServiceConfiguration. A service configuration.

clientCredentials
Type:

Type: ClientCredentials. The logon credentials of the client.

Use this constructor when the service configuration has been acquired externally, and Windows-based authentication is in use.

Do not call the Authenticate method after instantiating a ServiceProxy derived object using this constructor.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: