Discuss this help topic in SecureBlackbox Forum

TElAS2Client.OnError

TElAS2Client     


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


This event is fired when the error occurs during operation.

Declaration

[C#/Java]
    event TSBErrorEvent OnError;
    delegate void TSBErrorEvent(Object Sender, int ErrorCode, bool Fatal, bool Remote);

[VB.NET]
    Event OnError As TSBErrorEvent
    Delegate Sub TSBErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal Fatal As Boolean, ByVal Remote As Boolean)

[Pascal]
    property OnError : TSBErrorEvent;
    TSBErrorEvent = procedure(Sender: Object; ErrorCode: integer; Fatal: boolean; Remote : boolean) of object;

[C++]
    void get_OnError(TSBErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnError(TSBErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ErrorCode, int8_t Fatal, int8_t Remote);

[PHP]
    TSBErrorEvent|callable|NULL get_OnError()
    void set_OnError(TSBErrorEvent|callable|NULL $Value)
    callable TSBErrorEvent(TObject $Sender, integer $ErrorCode, bool $Fatal, bool $Remote)

Parameters

  • ErrorCode - the error code, see values below
  • Fatal - the error is fatal and the session will be closed immediately
  • Remote - the error was reported by the remote side

Values:


Description

    This event is fired by TElAS2Client when the error occurs during operation.

Discuss this help topic in SecureBlackbox Forum