Discuss this help topic in SecureBlackbox Forum

TElDNSResolver.OnError

TElDNSResolver     


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


This event is fired when an error occurs.

Declaration

[C#/Java]
    event TSBDNSResolverErrorEvent OnError;
    delegate void TSBDNSResolverErrorEvent(Object Sender, int ErrorCode, string ErrorMessage);

[VB.NET]
    Event OnError As TSBDNSResolverErrorEvent
    Delegate Sub TSBDNSResolverErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal ErrorMessage As String)

[Pascal]
    property OnError : TSBDNSResolverErrorEvent;
    TSBDNSResolverErrorEvent = procedure (Sender: TObject; ErrorCode : integer; const ErrorMessage : string) of object;

[C++]
    void get_OnError(TSBDNSResolverErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnError(TSBDNSResolverErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSResolverErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ErrorCode, const char * pcErrorMessage, int32_t szErrorMessage);

[PHP]
    TSBDNSResolverErrorEvent|callable|NULL get_OnError()
    void set_OnError(TSBDNSResolverErrorEvent|callable|NULL $Value)
    callable TSBDNSResolverErrorEvent(TObject $Sender, integer $ErrorCode, string $ErrorMessage)

Parameters

  • ErrorCode - the error code, see values below
  • ErrorMessage - contains error message
  • pcErrorMessage - contains error message
  • szErrorMessage - the length of pcErrorMessage.

Values:


Description

    This event is fired by TElDNSResolver to report errors during DNS resolving process.

Discuss this help topic in SecureBlackbox Forum