Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSServerSessionThread.OnException

TElSimpleFTPSServerSessionThread     


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


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

Declaration

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

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

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

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

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

[Java]
    TSBFTPSServerExceptionEvent getOnException();
    void setOnException(TSBFTPSServerExceptionEvent Value);
    TSBFTPSServerExceptionEvent.Callback OnException = 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