Classe OrganizationWebProxyClient

Si applica 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.

Spazio dei nomi: Microsoft.Xrm.Sdk.WebServiceClient
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
<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

Note

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.

Gerarchia ereditarietà

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

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smartphone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

Vedere anche

Riferimento

Membri OrganizationWebProxyClient
Spazio dei nomi Microsoft.Xrm.Sdk.WebServiceClient

Altre risorse

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.