Compartir a través de


Propiedad IPluginExecutionContext.ParentContext

Se aplica a: CRM 2015 on-prem, CRM Online

Gets the execution context from the parent pipeline operation.

Espacio de nombres: Microsoft.Xrm.Sdk
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
ReadOnly Property ParentContext As IPluginExecutionContext
IPluginExecutionContext ParentContext { get; }

Valor de propiedad

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

Comentarios

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.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Interfaz de IPluginExecutionContext
Miembros de IPluginExecutionContext
Espacio de nombres de Microsoft.Xrm.Sdk

Otros recursos

Event Execution Pipeline
Pass Data Between Plug-ins

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