How to determine on which pipeline a plugin is executing - Parent or Childe

The InvocationSource property is an integer value that you can use to determine whether the current plug-in is running in a child pipeline.

MessageInvocationSource Values
Child 1 Specifies a child pipeline
Parent 0 Specifies a parent pipeline

Комментариев нет: