ServiceProxy<TService> Constructor (IServiceManagement<TService>, ClientCredentials)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of theServiceProxy<TService> class using a service management and client logon credentials.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
protected ServiceProxy(
IServiceManagement<TService> serviceManagement,
ClientCredentials clientCredentials
)
Protected Sub New (
serviceManagement As IServiceManagement(Of TService),
clientCredentials As ClientCredentials
)
Parameters
serviceManagement
Type: Microsoft.Xrm.Sdk.Client.IServiceManagement<TService>Type: IServiceManagement<TService>. A service management.
clientCredentials
Type: System.ServiceModel.Description.ClientCredentialsType: ClientCredentials. The logon credentials of the client.
See Also
ServiceProxy<TService> Overload
ServiceProxy<TService> Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright