Compartir por


Clase de OrganizationWebProxyClient

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

Implements IOrganizationService and provides an authenticated connection to the Organization.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 OrganizationWebProxyClient
    Inherits WebProxyClient(Of IOrganizationService)
    Implements IOrganizationService
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
public class OrganizationWebProxyClient : WebProxyClient<IOrganizationService>, IOrganizationService

Comentarios

You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.

To call the Organization web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.

Jerarquía heredada

System.Object
   System.ServiceModel.ClientBase
     Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient
      Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient

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 OrganizationWebProxyClient
Espacio de nombres de Microsoft.Xrm.Sdk.WebServiceClient

Otros recursos

Use the IOrganizationService Web Service to Read and Write Data or Metadata
Authenticate the user with the web services

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