Méthode IPlugin.Execute
S'applique à: CRM 2015 on-prem, CRM Online
Executes plug-in code in response to an event.
Espace de noms: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
Sub Execute ( _
serviceProvider As IServiceProvider _
)
void Execute (
IServiceProvider serviceProvider
)
Paramètres
- serviceProvider
Type: IService_Provider. A container for service objects. Contains references to the plug-in execution context (IPluginExecutionContext), tracing service (ITracingService), organization service (IOrganizationServiceFactory), and notification service (IServiceEndpointNotificationService).
Remarques
Called by the event execution pipeline during processing of a message request for which the plug-in was registered. For more information, see the IServiceProvider Interface. The notification service is only provided for asynchronous registered plug-ins.
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
Interface de IPlugin
Membres IPlugin
Espace de noms Microsoft.Xrm.Sdk
Autres ressources
Write a Plug-in
Event Execution Pipeline
Plug-ins for Extending Microsoft Dynamics CRM
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.