OrganizationServiceProxy Constructor (IServiceConfiguration<IOrganizationService>, SecurityTokenResponse)
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 a security token response.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public OrganizationServiceProxy(
IServiceConfiguration<IOrganizationService> serviceConfiguration,
SecurityTokenResponse securityTokenResponse
)
Public Sub New (
serviceConfiguration As IServiceConfiguration(Of IOrganizationService),
securityTokenResponse As SecurityTokenResponse
)
Parameters
serviceConfiguration
Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<IOrganizationService>Type: IServiceConfiguration<TService><IOrganizationService>. A service configuration.
securityTokenResponse
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponseType: SecurityTokenResponse. A security token response.
See Also
AuthenticateCrossRealm
AuthenticateDevice
OrganizationServiceProxy Overload
OrganizationServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright