Delen via


IPluginExecutionContext.ParentContext-eigenschap

Gets the execution context from the parent pipeline operation.

Naamruimte: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntaxis

'Declaratie
ReadOnly Property ParentContext As IPluginExecutionContext
IPluginExecutionContext ParentContext { get; }

Waarde van eigenschap

Type: IPluginExecutionContext
The execution context from the parent pipeline operation.

Opmerkingen

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 execution context of the original assign request.

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Zie ook

Verwijzing

IPluginExecutionContext-interface
IPluginExecutionContext-leden
Microsoft.Xrm.Sdk-naamruimte

Overige resources

Event Execution Pipeline
Pass Data Between Plug-ins

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