Clase de DiscoveryWebProxyClient
Se aplica a: CRM 2015 on-prem, CRM Online
Implements IDiscoveryService and provides an authenticated connection to the Discovery.svc/web endpoint. This /web endpoint is also used by web resources.
Espacio de nombres: Microsoft.Xrm.Sdk.WebServiceClient
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 DiscoveryWebProxyClient
Inherits WebProxyClient(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 DiscoveryWebProxyClient : WebProxyClient<IDiscoveryService>, IDiscoveryService
Comentarios
You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.
To call the Discovery web service using the IDiscoveryService interface, cast the proxy instance to an IDiscoveryService type.
Jerarquía heredada
System.Object
System.ServiceModel.ClientBase
Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient
Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient
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 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Teléfono inteligente,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP
Vea también
Referencia
Miembros de DiscoveryWebProxyClient
Espacio de nombres de Microsoft.Xrm.Sdk.WebServiceClient
Otros recursos
Discover the URL for Your Organization With IDiscoveryService Web Service
Authenticate the user with the web services
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.