Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RemoteExecutionContext.ParentContext Property

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.

Gets the remote execution context from the parent operation.

public:
 property Microsoft::Xrm::Sdk::RemoteExecutionContext ^ ParentContext { Microsoft::Xrm::Sdk::RemoteExecutionContext ^ get(); void set(Microsoft::Xrm::Sdk::RemoteExecutionContext ^ value); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.RemoteExecutionContext ParentContext { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.ParentContext : Microsoft.Xrm.Sdk.RemoteExecutionContext with get, set
Public Property ParentContext As RemoteExecutionContext

Property Value

The remote execution context from the parent operation.

Attributes

Remarks

This property may be populated for a plug-in registered in stage 20 or 40 when a Create, Update, Delete, or RetrieveExchangeRate request is processed by the execution pipeline.

Certain message requests require the platform to internally generate another message request, and hence another execution pipeline, to complete processing of the original request. For example, pipeline execution of the AssignRequest results in the internal generation of an UpdateRequest. Any plug-in registered in stage 20 or 40 for an update request will have the ParentContext property set to the remote execution context of the original assign request.

Applies to