Export (0) Print
Expand All

IPluginExecutionContext Members

Applies To: CRM 2015 on-prem, CRM Online

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the contextual information passed to a plug-in at run-time. Contains information that describes the run-time environment that the plug-in is executing in, information related to the execution pipeline, and entity business information.

The following tables list the members exposed by the IPluginExecutionContext type.

 NameDescription
public propertyBusinessUnitId  Gets the GUIDGUID of the business unit that the user making the request, also known as the calling user, belongs to. (inherited from IExecutionContext)
public propertyCorrelationId  Gets the GUID for tracking plug-in or custom workflow activity execution.  (inherited from IExecutionContext)
public propertyDepth  Gets the current depth of execution in the call stack. (inherited from IExecutionContext)
public propertyInitiatingUserId  Gets the GUID of the system user account under which the current pipeline is executing. (inherited from IExecutionContext)
public propertyInputParameters  Gets the parameters of the request message that triggered the event that caused the plug-in to execute. (inherited from IExecutionContext)
public propertyIsExecutingOffline  Gets whether the plug-in is executing from the Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access client while it is offline.  (inherited from IExecutionContext)
public propertyIsInTransaction  Gets a value indicating if the plug-in is executing within the database transaction. (inherited from IExecutionContext)
public propertyIsOfflinePlayback  Gets a value indicating if the plug-in is executing as a result of the Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access client transitioning from offline to online and synchronizing with the Microsoft Dynamics CRM server. (inherited from IExecutionContext)
public propertyIsolationMode  Gets a value indicating if the plug-in is executing in the sandbox. (inherited from IExecutionContext)
public propertyMessageName  Gets the name of the Web service message that is being processed by the event execution pipeline. (inherited from IExecutionContext)
public propertyMode  Gets the mode of plug-in execution. (inherited from IExecutionContext)
public propertyOperationCreatedOn  Gets the date and time that the related System Job was created. (inherited from IExecutionContext)
public propertyOperationId  Gets the GUID of the related System Job. (inherited from IExecutionContext)
public propertyOrganizationId  Gets the GUID of the organization that the entity belongs to and the plug-in executes under. (inherited from IExecutionContext)
public propertyOrganizationName  Gets the unique name of the organization that the entity currently being processed belongs to and the plug-in executes under. (inherited from IExecutionContext)
public propertyOutputParameters  Gets the parameters of the response message after the core platform operation has completed. (inherited from IExecutionContext)
public propertyOwningExtension  Gets a reference to the related SdkMessageProcessingingStep or ServiceEndpoint. (inherited from IExecutionContext)
public propertyParentContextGets the execution context from the parent pipeline operation.
public propertyPostEntityImages  Gets the properties of the primary entity after the core platform operation has been completed. (inherited from IExecutionContext)
public propertyPreEntityImages  Gets the properties of the primary entity before the core platform operation has begins. (inherited from IExecutionContext)
public propertyPrimaryEntityId  Gets the GUID of the primary entity for which the pipeline is processing events. (inherited from IExecutionContext)
public propertyPrimaryEntityName  Gets the name of the primary entity for which the pipeline is processing events. (inherited from IExecutionContext)
public propertyRequestId  Gets the GUID of the request being processed by the event execution pipeline. (inherited from IExecutionContext)
public propertySecondaryEntityName  Gets the name of the secondary entity that has a relationship with the primary entity. (inherited from IExecutionContext)
public propertySharedVariables  Gets the custom properties that are shared between plug-ins. (inherited from IExecutionContext)
public propertyStageGets the stage in the execution pipeline that a synchronous plug-in is registered for.
public propertyUserId  Gets the GUID of the system user for whom the plug-in invokes web service methods on behalf of. (inherited from IExecutionContext)
Top

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft