Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ZipArchive(Boolean) Constructor

Initializes a new instance of the ZipArchive class and specifies whether to catch exceptions in archive operations.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public ZipArchive(
    bool catchExceptions
)

#Parameters

Name Type Description
catchExceptions Boolean

True, to catch exceptions during archive operations; otherwise, false.

#Remarks

You can also use the static ZipArchive.CatchExceptions property and ZipArchive.Read method overrides to change the archive behavior regarding exceptions. When exceptions are caught by default, you can handle the ZipArchive.Error event to analyze them and perform the required actions.

See Also