Discuss this help topic in SecureBlackbox Forum


TElSSHPublicKeyServer     See also     

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

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)

    TSBSSHPublicKeyErrorEvent getOnError();
    void setOnError(TSBSSHPublicKeyErrorEvent Value);
    TSBSSHPublicKeyErrorEvent.Callback OnError = new TSBSSHPublicKeyErrorEvent.Callback() {
        public void TSBSSHPublicKeyErrorEventCallback(TObject Sender, int 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.



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

See also:     OnReceive     OnSend     OnOpen     OnClose     OnStatus     OnAdd     OnRemove     OnList     OnListAttributes     OnAttributeSupported    

Discuss this help topic in SecureBlackbox Forum