Propriedade IPluginExecutionContext.ParentContext
Aplica-se a: CRM 2015 on-prem, CRM Online
Gets the execution context from the parent pipeline operation.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
ReadOnly Property ParentContext As IPluginExecutionContext
IPluginExecutionContext ParentContext { get; }
Valor de Propriedade
Type: IPluginExecutionContext
The execution context from the parent pipeline operation.
Comentários
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.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Interface IPluginExecutionContext
Membros de IPluginExecutionContext
Namespace Microsoft.Xrm.Sdk
Outros recursos
Event Execution Pipeline
Pass Data Between Plug-ins
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.