Discuss this help topic in SecureBlackbox Forum



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

This event is fired when an error occurs.


    event TSBDNSResolverErrorEvent OnError;
    delegate void TSBDNSResolverErrorEvent(Object Sender, int ErrorCode, string ErrorMessage);

    Event OnError As TSBDNSResolverErrorEvent
    Delegate Sub TSBDNSResolverErrorEvent(ByVal Sender As Object, ByVal ErrorCode As Integer, ByVal ErrorMessage As String)

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

    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);

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

    TSBDNSResolverErrorEvent getOnError();
    void setOnError(TSBDNSResolverErrorEvent Value);
    TSBDNSResolverErrorEvent.Callback OnError = new TSBDNSResolverErrorEvent.Callback() {
        public void TSBDNSResolverErrorEventCallback(TObject Sender, int ErrorCode, String ErrorMessage) {


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



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

Discuss this help topic in SecureBlackbox Forum