Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnSecondaryChannelError

TElSimpleSFTPClient     See also     


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


This event is fired when an error occurs in a secondary SSH channel.

Declaration

[C#/Java]
    event TSBSftpSecondaryChannelErrorEvent OnSecondaryChannelError;
    delegate void TSBSftpSecondaryChannelErrorEvent(object Sender, TElCustomSSHTunnel Tunnel, int ErrorCode);

[VB.NET]
    Event OnSecondaryChannelError As TSBSftpSecondaryChannelErrorEvent
    Delegate Sub TSBSftpSecondaryChannelErrorEvent(ByVal Sender As Object, ByVal Tunnel As TElCustomSSHTunnel, ByVal ErrorCode As Integer)

[Pascal]
    property OnSecondaryChannelError : TSBSftpSecondaryChannelErrorEvent;
    TSBSftpSecondaryChannelErrorEvent = procedure(Sender : TObject; Tunnel : TElCustomSSHTunnel; ErrorCode : integer) of object;

[C++]
    void get_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpSecondaryChannelErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElCustomSSHTunnelHandle Tunnel, int32_t ErrorCode);

[PHP]
    TSBSftpSecondaryChannelErrorEvent|callable|NULL get_OnSecondaryChannelError()
    void set_OnSecondaryChannelError(TSBSftpSecondaryChannelErrorEvent|callable|NULL $Value)
    callable TSBSftpSecondaryChannelErrorEvent(TObject $Sender, TElCustomSSHTunnel $Tunnel, integer $ErrorCode)

Parameters

  • Tunnel - The SSH tunnel where the error has occured.
  • ErrorCode - Specifies the error code.

Error codes:


Description

    This event is fired when an error occurs in a secondary SSH tunnel.

Discuss this help topic in SecureBlackbox Forum