Xceed.Compression.Silverlight.v6.6 Assembly > Xceed.Compression Namespace : CompressionException Class |
'Declaration Public Class CompressionException Inherits System.IO.IOException Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
'Usage Dim instance As CompressionException
public class CompressionException : System.IO.IOException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
This exception serves as the base class for all custom exceptions defined in the Xceed.Compression namespace.
Since this exception is thrown by the CompressedStream object, it derives from IOException. This is because any code that use streams will expect an IOException to be thrown in case of errors while working with the stream.
System.Object
System.Exception
System.SystemException
System.IO.IOException
Xceed.Compression.CompressionException
Xceed.Compression.CompressionInternalException
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2