Eplan Platform API
Eplan.EplApi.ApplicationFramework Namespace / ActionCallingContext Class
Members

In This Topic
    ActionCallingContext Class
    In This Topic
    This is the ActionCallingContext class used to pass parameters to an action and to receive return values of the action.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.Base.Context
          Eplan.EplApi.ApplicationFramework.ActionCallingContext
             Eplan.EplApi.DataModel.StorableObjectContext

    Syntax
    [Guid("B44C4085-E6B8-3622-A1EF-50DF81A26485")]
    public class ActionCallingContext : Eplan.EplApi.Base.Context, Eplan.EplApi.Base.IContext  
    [Guid("B44C4085-E6B8-3622-A1EF-50DF81A26485")]
    public ref class ActionCallingContext : public Eplan.EplApi.Base.Context, Eplan.EplApi.Base.IContext  
    Remarks
    Using AddParameter(...) you can add explicitly named parameters to the ActionCallingContext. The action must use this explicit name to reference these parameters. Likewise, values returned by the action can be added.

    Please mind that an action may modify the ActionCallingContext during its execution. Sometimes e.g. project IDs are added to the context and are passed to an inner action. Reusing the same ActionCallingContext for another action call may lead to unexpected results. So in most cases it is advisable to create a new ActionCallingContext for a new action call.
    Public Constructors
     NameDescription
    Public ConstructorCreates an ActionCallingContext  
    Top
    Public Properties
     NameDescription
    Public PropertyGets system messages  
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public MethodDestructor for deterministic finalization of ActionCallingContext object. (Inherited from Eplan.EplApi.Base.Context)
    Public MethodOverridden. Get the Block of Context Parameters of this Context.  
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public MethodGet Exception  
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public MethodOverridden. Sets a block of context parameters (as ContextParameterBlock object).  
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Public Method (Inherited from Eplan.EplApi.Base.Context)
    Top
    See Also