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

See Also

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

Return to top

© 2016 Microsoft. All rights reserved. Copyright