Discuss this help topic in SecureBlackbox Forum


TElASMessage     See also     

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

This event is fired when a temporary stream is needed.


    event TSBASStreamRequestEvent OnTempRequest;
    delegate void TSBASStreamRequestEvent(object Sender, [out] ref System.IO.Stream Stream, [out] ref bool FreeOnFinish);

    Event OnTempRequest As TSBASStreamRequestEvent
    Delegate Sub TSBASStreamRequestEvent(ByVal Sender As Object, ByRef Stream As System.IO.Stream, ByRef FreeOnFinish As Boolean)

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

    not available

    not available


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


    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