Discuss this help topic in SecureBlackbox Forum

TElMessagePartHandler Constructor

TElMessagePartHandler     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

Creates an instance of TElMessagePartHandler class and returns a reference to newly created instance.


    TElMessagePartHandler(Object aParams);

    Sub New(ByVal aParams As Object)

    constructor Create(Params: TObject);

    not available

    not available

    public TElMessagePartHandler();
    public TElMessagePartHandler(TObject aParams);


  • Params - creation parameters.
  • aParams -


    This method creates a new instance of TElMessagePartHandler class. During the call of IsSupportedThisBody class method, this method can set parameters for the instance, which will be created (if IsSupportedThisBody returns true). If Params is defined, then the newly created instance is responsible for destryoing it.
     Params can be used to pass some data to the object being created. For example, if IsSupportedThisBody does some parsing of the data, then to avoid duplicate parsing in constructor, IsSupportedThisBody can put the parsed data to Params object.

See also:     Destructor    

Discuss this help topic in SecureBlackbox Forum