ServiceProxy<TService> Constructor (IServiceManagement<TService>, SecurityTokenResponse)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the ServiceProxy<TService> class using a service management and security token response.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
protected ServiceProxy(
IServiceManagement<TService> serviceManagement,
SecurityTokenResponse securityTokenResponse
)
Protected Sub New (
serviceManagement As IServiceManagement(Of TService),
securityTokenResponse As SecurityTokenResponse
)
Parameters
serviceManagement
Type: Microsoft.Xrm.Sdk.Client.IServiceManagement<TService>Type: IServiceManagement<TService>. A service management.
securityTokenResponse
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponseType: SecurityTokenResponse. A security token response.
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