CallerActivationGroupAttribute Class

The CallerActivationGroupAttribute is provided to support the job activation manager when a program is to be allocated in the same activation group as the program by which it is called.

For a list of all members of this class, see Class Members.

Inheritance Hierarchy

ASNA.Monarch
   ASNA.Monarch.CallerActivationGroupAttribute  

Syntax

 Public class CallerActivationGroupAttribute Inherits System.Attribute

Thread Safety

Any public static (Shared) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

The Job maintains an activation manager responsible for handling the activations of programs according to the ActivationGroup custom attribute defined in the BegClass of the program. The following code examples shows a program (Custcalc) that is to be allocated in the same activation group as the program calling this program.

BegClass Custcalc Extends(ASNA.Monarch.Program  Access( *Public) +
      Attributes( CallerActivationGroup())

Requirements

Namespace: ASNA.Monarch

Assembly: ASNA.VisualRPG.Runtime.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro