DiscoveryServiceProxy Constructor (IServiceManagement<IDiscoveryService>, SecurityTokenResponse)
Applies To: Dynamics CRM 2015
Initializes a new instance of the DiscoveryServiceProxy class using a service management and a security token response.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public DiscoveryServiceProxy(
IServiceManagement<IDiscoveryService> serviceManagement,
SecurityTokenResponse securityTokenResponse
)
public:
DiscoveryServiceProxy(
IServiceManagement<IDiscoveryService^>^ serviceManagement,
SecurityTokenResponse^ securityTokenResponse
)
new :
serviceManagement:IServiceManagement<IDiscoveryService> *
securityTokenResponse:SecurityTokenResponse -> DiscoveryServiceProxy
Public Sub New (
serviceManagement As IServiceManagement(Of IDiscoveryService),
securityTokenResponse As SecurityTokenResponse
)
Parameters
serviceManagement
Type: Microsoft.Xrm.Sdk.Client.IServiceManagement<IDiscoveryService>Type: IServiceConfiguration<TService>. A service management.
securityTokenResponse
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponseType: SecurityTokenResponse. A security token response.
See Also
DiscoveryServiceProxy Overload
DiscoveryServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright