DiscoveryServiceProxy Constructor (IServiceConfiguration<IDiscoveryService>, SecurityTokenResponse)
Applies To: Dynamics CRM 2015
Initializes a new instance of the DiscoveryServiceProxy 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 DiscoveryServiceProxy(
IServiceConfiguration<IDiscoveryService> serviceConfiguration,
SecurityTokenResponse securityTokenResponse
)
public:
DiscoveryServiceProxy(
IServiceConfiguration<IDiscoveryService^>^ serviceConfiguration,
SecurityTokenResponse^ securityTokenResponse
)
new :
serviceConfiguration:IServiceConfiguration<IDiscoveryService> *
securityTokenResponse:SecurityTokenResponse -> DiscoveryServiceProxy
Public Sub New (
serviceConfiguration As IServiceConfiguration(Of IDiscoveryService),
securityTokenResponse As SecurityTokenResponse
)
Parameters
serviceConfiguration
Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<IDiscoveryService>Type: IServiceConfiguration<TService>. A service configuration.
securityTokenResponse
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponseType: SecurityTokenResponse. A security token response.
See Also
AuthenticateCrossRealm
AuthenticateDevice
DiscoveryServiceProxy Overload
DiscoveryServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright