Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Defines the contextual information sent to a remote service endpoint at run-time.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Initializes a new instance of the RemoteExecutionContext class.
Gets the global unique identifier of the business unit that the entity currently being processed by the event execution pipeline belongs to.
Gets the global unique identifier for tracking plug-in execution.
Gets the current depth of execution in the call stack.
A structure that contains extra data.
Gets the global unique identifier of the system user account under which the current pipeline is executing.
Gets the parameters of the request message that triggered the event that caused the plug-in to execute.
Gets a value indicating if the plug-in is executing from the Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access client while it is offline.
Gets a value indicating if the plug-in is executing within the database transaction.
Gets a value indicating if the plug-in is executing as a result of the Microsoft Dynamics 365 for Microsoft Office Outlook with Offline Access client transitioning from offline to online and synchronizing with the Microsoft Dynamics 365 server.
Gets a value indicating if the plug-in is executing in the sandbox.
Gets the name of the Web service message that is being processed by the event execution pipeline.
Gets the mode of plug-in execution.
Gets the date and time that the related System Job was created.
Gets the global unique identifier of the related System Job.
Gets the global unique identifier of the organization that the entity belongs to and the plug-in executes under.
Gets the unique name of the organization that the entity currently being processed belongs to and the plug-in executes under.
Gets the parameters of the response message after the core platform operation has completed.
Gets a reference to the related SdkMessageProcessingingStep or ServiceEndpoint.
Gets the remote execution context from the parent operation.
Gets the properties of the primary entity after the core platform operation has been completed.
Gets the properties of the primary entity before the core platform operation has begins.
Gets the global unique identifier of the primary entity for which the pipeline is processing events.
Gets the name of the primary entity for which the pipeline is processing events.
Gets the global unique identifier of the request being processed by the event execution pipeline.
Gets the name of the secondary entity that has a relationship with the primary entity.
Gets the custom properties that are shared between plug-ins.
Gets the stage in the execution pipeline that a synchronous plug-in is registered for.
Gets the global unique identifier of the system user for whom the plug-in invokes Web service methods on behalf of.
For internal use only.
A populated RemoteExecutionContext instance is passed from Microsoft Dynamics 365 to a Microsoft Azure Service Bus solution listener. The remote execution context contains the same information that is passed to an asynchronous registered Microsoft Dynamics 365 plug-in plus some additional information.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright