Discuss this help topic in SecureBlackbox Forum

TElASMessage.OnTempRequest

TElASMessage     See also     


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


This event is fired when a temporary stream is needed.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    property OnTempRequest : TSBASStreamRequestEvent;
    TSBASStreamRequestEvent = procedure(Sender: Object; out Stream : TStream; out FreeOnFinish : boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Stream - the stream to be used by the component
  • FreeOnFinish - specifies whether the component should free the stream automatically

Description

    This event is fired by TElASMessage when it needs a temporary stream for message processing. The event handler should create a stream and return it in the Stream parameter. If FreeOnFinish parameter is set to True, the stream will be automatically destroyed when it will not be needed anymore. If there is no event handler or no stream is returned from the handler, the component will create a temporary memory stream internally.

See also:     OnTempRelease    

Discuss this help topic in SecureBlackbox Forum