Compartir a través de


Clase de DiscoveryServiceProxy

Se aplica a: CRM 2015 on-prem, CRM Online

Implements IDiscoveryService and provides an authenticated WCF channel to the discovery service endpoint.

Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification:="This class need to be instantiated by clients and be able to derive from it.")> _
Public Class DiscoveryServiceProxy
    Inherits ServiceProxy(Of IDiscoveryService)
    Implements IDiscoveryService
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
public class DiscoveryServiceProxy : ServiceProxy<IDiscoveryService>, IDiscoveryService

Comentarios

You can make SDK calls using the IDiscoveryService interface by casting the proxy instance to a IDiscoveryService type.

Importante

This class is not thread safe. Microsoft Dynamics CRM Online authentication using the Entorno de Microsoft Online Services identity provider, including Microsoft Office 365, is supported.

Jerarquía heredada

System.Object
   Microsoft.Xrm.Sdk.Client.ServiceProxy
    Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Change History

Vea también

Referencia

Miembros de DiscoveryServiceProxy
Espacio de nombres de Microsoft.Xrm.Sdk.Client

Otros recursos

Sample: Access the Discovery Service
Helper Code: ServerConnection Class

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.