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