Método IPlugin.Execute
Aplica-se a: CRM 2015 on-prem, CRM Online
Executes plug-in code in response to an event.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
Sub Execute ( _
serviceProvider As IServiceProvider _
)
void Execute (
IServiceProvider serviceProvider
)
Parâmetros
- 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).
Comentários
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.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Interface IPlugin
Membros de IPlugin
Namespace Microsoft.Xrm.Sdk
Outros recursos
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.