OrganizationServiceProxy Constructor (IServiceConfiguration<IOrganizationService>, ClientCredentials)
Applies To: Dynamics CRM 2015
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:
OrganizationServiceProxy(
IServiceConfiguration<IOrganizationService^>^ serviceConfiguration,
ClientCredentials^ clientCredentials
)
new :
serviceConfiguration:IServiceConfiguration<IOrganizationService> *
clientCredentials:ClientCredentials -> OrganizationServiceProxy
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
© 2016 Microsoft. All rights reserved. Copyright