Méthode OrganizationServiceProxy.Execute
S'applique à: CRM 2015 on-prem, CRM Online
Executes a message in the form of a request, and returns a response.
Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
Public Function Execute ( _
request As OrganizationRequest _
) As OrganizationResponse
public OrganizationResponse Execute (
OrganizationRequest request
)
Paramètres
- request
Type: OrganizationRequest. An instance of a request class that defines the action to be performed.
Valeur renvoyée
Type: OrganizationResponse.
You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.
Remarques
The core implementation of the Execute method. For more information, see IOrganizationService.Execute.
For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.
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
Classe OrganizationServiceProxy
Membres OrganizationServiceProxy
Espace de noms Microsoft.Xrm.Sdk.Client
Autres ressources
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service
Use Messages (Request and Response Classes) with the Execute Method
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.