Discuss this help topic in SecureBlackbox Forum


TElSSHTunnelConnection     See also     

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

This event is fired when error occurs during transfer through logical connection


    event TSSHErrorEvent OnError;
    delegate void TSSHErrorEvent(Object Sender, int ErrorCode);

    Event OnError As TSSHErrorEvent
    Delegate Sub TSSHErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer)

    property OnError : TSSHErrorEvent;
    TSSHErrorEvent = procedure (Sender: TObject; ErrorCode : integer) of object;

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

    TSSHErrorEvent|callable|NULL get_OnError()
    void set_OnError(TSSHErrorEvent|callable|NULL $Value)
    callable TSSHErrorEvent(TObject $Sender, integer $ErrorCode)

    TSSHErrorEvent getOnError();
    void setOnError(TSSHErrorEvent Value);
    TSSHErrorEvent.Callback OnError = new TSSHErrorEvent.Callback() {
        public void TSSHErrorEventCallback(TObject Sender, int ErrorCode) {


  • ErrorCode - the code which describes the error


    Handle this event to be notified about errors occurring during data transfer.

See also:     OnClose     OnData     OnExtendedData    

Discuss this help topic in SecureBlackbox Forum