Partager via


DiscoveryServiceProxy Constructor (IServiceConfiguration<IDiscoveryService>, SecurityTokenResponse)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 Sub New (
    serviceConfiguration As IServiceConfiguration(Of IDiscoveryService),
    securityTokenResponse As SecurityTokenResponse
)

Parameters

See Also

AuthenticateCrossRealm
AuthenticateDevice
DiscoveryServiceProxy Overload
DiscoveryServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright