Condividi tramite


Metodo IPlugin.Execute

Si applica a: CRM 2015 on-prem, CRM Online

Executes plug-in code in response to an event.

Spazio dei nomi: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
Sub Execute ( _
    serviceProvider As IServiceProvider _
)
void Execute (
    IServiceProvider serviceProvider
)

Parametri

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Interfaccia IPlugin
Membri IPlugin
Spazio dei nomi Microsoft.Xrm.Sdk

Altre risorse

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.