Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IPlugin.Execute(IServiceProvider) Method
Definition
- Namespace:
- Microsoft.Xrm.Sdk
- Assembly:
- Microsoft.Xrm.Sdk.dll
- Package:
- Microsoft.PowerPlatform.Dataverse.Client v1.2.10
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes plug-in code in response to an event.
public:
void Execute(IServiceProvider ^ serviceProvider);
public void Execute(IServiceProvider serviceProvider);
abstract member Execute : IServiceProvider -> unit
Public Sub Execute (serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
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.
