Discuss this help topic in SecureBlackbox Forum


TElSSHPublicKeyClient     See also     

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

This event is fired when some error takes place during the session


    event TSBSSHPublicKeyErrorEvent OnError;
    delegate void TSBSSHPublicKeyErrorEvent(Object Sender, int ErrorCode, string Comment);

    Event OnError As TSBSSHPublicKeyErrorEvent
    Delegate Sub TSBSSHPublicKeyErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal Comment As String)

    property OnError: TSBSSHPublicKeyErrorEvent;
    TSBSSHPublicKeyErrorEvent = procedure(Sender: TObject; ErrorCode: integer; const Comment: string) of object;

    void get_OnError(TSBSSHPublicKeyErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnError(TSBSSHPublicKeyErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ErrorCode, const char * pcComment, int32_t szComment);

    TSBSSHPublicKeyErrorEvent|callable|NULL get_OnError()
    void set_OnError(TSBSSHPublicKeyErrorEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyErrorEvent(TObject $Sender, integer $ErrorCode, string $Comment)


  • ErrorCode - The constant which describes the error
  • Comment - explanation for the error
  • pcComment - explanation for the error
  • szComment - the length of pcComment.



    TElSSHPublicKeyClient fires this event if an error occurs during the session. Most errors are fatal and lead to closing of the connection.

See also:     OnAttribute     OnCloseConnection     OnOpenConnection     OnPublicKey     OnStatus    

Discuss this help topic in SecureBlackbox Forum