IPlugin.Execute Method (IServiceProvider)
Applies To: Dynamics CRM 2015
Executes plug-in code in response to an event.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
void Execute(
IServiceProvider serviceProvider
)
void Execute(
IServiceProvider^ serviceProvider
)
abstract Execute :
serviceProvider:IServiceProvider -> unit
Sub Execute (
serviceProvider As IServiceProvider
)
Parameters
serviceProvider
Type: System.IServiceProviderType: 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).
Remarks
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.
See Also
IPlugin Interface
Microsoft.Xrm.Sdk Namespace
Write a plug-in
Event execution pipeline
Write plug-ins to extend business processes
Return to top
© 2016 Microsoft. All rights reserved. Copyright