Discuss this help topic in SecureBlackbox Forum



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

This event is fired when the error occurs during protocol flow


    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)


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



    This event is fired by TElSimpleSSLClient when an error occurs during protocol flow.

Discuss this help topic in SecureBlackbox Forum