Discuss this help topic in SecureBlackbox Forum



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

This event is fired when the error occurs during operation.


    event TSBErrorEvent OnError;
    delegate void TSBErrorEvent(Object Sender, int ErrorCode, bool Fatal, bool Remote);

    Event OnError As TSBErrorEvent
    Delegate Sub TSBErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal Fatal As Boolean, ByVal Remote As Boolean)

    property OnError : TSBErrorEvent;
    TSBErrorEvent = procedure(Sender: Object; ErrorCode: integer; Fatal: boolean; Remote : boolean) of object;

    void get_OnError(TSBErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnError(TSBErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ErrorCode, int8_t Fatal, int8_t Remote);

    TSBErrorEvent|callable|NULL get_OnError()
    void set_OnError(TSBErrorEvent|callable|NULL $Value)
    callable TSBErrorEvent(TObject $Sender, integer $ErrorCode, bool $Fatal, bool $Remote)

    TSBErrorEvent getOnError();
    void setOnError(TSBErrorEvent Value);
    TSBErrorEvent.Callback OnError = new TSBErrorEvent.Callback() {
        public void TSBErrorEventCallback(TObject Sender, int ErrorCode, boolean Fatal, boolean Remote) {


  • ErrorCode - the error code, see values below
  • Fatal - the error is fatal and the session will be closed immediately
  • Remote - the error was reported by the remote side



    This event is fired by TElAS2Client when the error occurs during operation.

Discuss this help topic in SecureBlackbox Forum