Discuss this help topic in SecureBlackbox Forum

TElGzipReader.OnArchiveError

TElGzipReader     See also     


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


This event is fired when an error occurs during archive reading.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    property OnArchiveError : TSBGZipArchiveErrorEvent;
    TSBGZipArchiveErrorEvent = procedure(Sender: TObject; ErrorCode : integer; const ErrorMessage : string; var TryContinue : boolean) of object;

[C++]
    not available

[PHP]
    not available

[Java]
    not available

Parameters

  • ErrorCode - specifies the error code.
  • ErrorMessage - contains textual description of the error.
  • TryContinue - set this parameter to True if you want TElGZipReader to try to overcome the error.

Error codes:

Description

This event is fired when TElGZipReader encounters an error during archive reading. If the archive is only lightly corrupted, TElGZipReader may try to overcome these errors, if TryContinue parameter is set to true. Instead of creating the event handler, IgnoreArchiveErrors property may be used.

See also:     IgnoreArchiveErrors    

Discuss this help topic in SecureBlackbox Forum