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.CatchExceptions Property

Allows you to set an application-wide flag that specifies whether exceptions which occur in ZipArchive operations are caught.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public static bool? CatchExceptions { get; set; }

#Property Value

Type Description
Nullable<Boolean>

True to catch exceptions; false to allow exceptions to propagate; if null or not set, no effect.

#Remarks

You can explicitly set the CatchExceptions property to override the behavior specified in ZipArchive.Read method calls and in the ZipArchive constructor. Once set, it affects all ZipArchive instances. If true, exceptions are intercepted, if false, exceptions are allowed to propagate.

See Also