ServiceProxy<TService> Constructor (IServiceManagement<TService>, ClientCredentials)
Applies To: Dynamics CRM 2015
Initializes a new instance of the ServiceProxy<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:
ServiceProxy(
IServiceManagement<TService>^ serviceManagement,
ClientCredentials^ clientCredentials
)
new :
serviceManagement:IServiceManagement<'TService> *
clientCredentials:ClientCredentials -> ServiceProxy
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
© 2016 Microsoft. All rights reserved. Copyright