Partager via


Classe OrganizationServiceProxy

S'applique à: CRM 2015 on-prem, CRM Online

Implements IOrganizationService and provides an authenticated WCF channel to the organization service.

Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification:="This class need to be instantiated by clients and be able to derive from it.")> _
Public Class OrganizationServiceProxy
    Inherits ServiceProxy(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 OrganizationServiceProxy : ServiceProxy<IOrganizationService>, IOrganizationService

Remarques

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

Important

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

Hiérarchie d'héritage

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

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Change History

Voir aussi

Référence

Membres OrganizationServiceProxy
Espace de noms Microsoft.Xrm.Sdk.Client

Autres ressources

Active Directory and Claims-Based Authentication
Sample: Authenticate Users with Microsoft Dynamics CRM Web Services
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service

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