Partager via


Classe OrganizationRequest

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

Contains the data needed to execute a request and the base class for all organization requests.

Espace de noms: Microsoft.Xrm.Sdk
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.")> _
<DataContractAttribute(Name:="OrganizationRequest", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
<DefaultMemberAttribute("Item")> _
Public Class OrganizationRequest
    Implements IExtensibleDataObject
[SuppressMessageAttribute("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")] 
[DataContractAttribute(Name="OrganizationRequest", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")] 
[DefaultMemberAttribute("Item")] 
public class OrganizationRequest : IExtensibleDataObject

Remarques

This is the base class for all organization Web service requests. Pass an instance of a request class to the Execute method.

You can use this class, specifying the parameter collection. However, when you use the derived class, the parameter collection is created for you.

Hiérarchie d'héritage

System.Object
  Microsoft.Xrm.Sdk.OrganizationRequest
     Classes dérivées

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

Voir aussi

Référence

Membres OrganizationRequest
Espace de noms Microsoft.Xrm.Sdk
OrganizationResponse

Autres ressources

Use Messages (Request and Response Classes) with the Execute Method

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