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