Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSServer.OnSessionException

TElSimpleFTPSServer     


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


This event is fired when an exception happens during the secure session.

Declaration

[C#]
    event TSBFTPSServerExceptionEvent OnSessionException;
    delegate void TSBFTPSServerExceptionEvent(Object Sender, Exception Ex);

[VB.NET]
    Event OnSessionException As TSBFTPSServerExceptionEvent
    Delegate Sub TSBFTPSServerExceptionEvent(ByVal Sender As Object, ByVal Ex As Exception)

[Pascal]
    property OnSessionException : TSBFTPSServerExceptionEvent;
    TSBFTPSServerExceptionEvent = procedure (Sender : TObject; Ex : Exception) of object;

[C++]
    void get_OnSessionException(TSBFTPSServerExceptionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSessionException(TSBFTPSServerExceptionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSServerExceptionEvent)(void * _ObjectData, TObjectHandle Sender, TElClassHandle Ex);

[PHP]
    TSBFTPSServerExceptionEvent|callable|NULL get_OnSessionException()
    void set_OnSessionException(TSBFTPSServerExceptionEvent|callable|NULL $Value)
    callable TSBFTPSServerExceptionEvent(TObject $Sender, TObject $Ex)

[Java]
    TSBFTPSServerExceptionEvent getOnSessionException();
    void setOnSessionException(TSBFTPSServerExceptionEvent Value);
    TSBFTPSServerExceptionEvent.Callback OnSessionException = new TSBFTPSServerExceptionEvent.Callback() {
        public void TSBFTPSServerExceptionEventCallback(TObject Sender, Exception Ex) {
            //...
        }
    }

Parameters

  • Ex - the exception object.

Description

    This event is fired when an exception happens during the secure session.

Discuss this help topic in SecureBlackbox Forum