Table of Contents

Class BadStateException

Namespace
Ionic.Zip
Assembly
SunamoDotNetZip.dll

Indicates that an operation was attempted on a ZipFile which was not possible given the state of the instance. For example, if you call Save() on a ZipFile which has no filename set, you can get this exception.

[Serializable]
[Guid("ebc25cf6-9120-4283-b972-0e5520d00007")]
public class BadStateException : ZipException, ISerializable
Inheritance
BadStateException
Implements
Inherited Members
Extension Methods

Constructors

BadStateException()

Default ctor.

public BadStateException()

BadStateException(SerializationInfo, StreamingContext)

Come on, you know how exceptions work. Why are you looking at this documentation?

protected BadStateException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info for the exception.

context StreamingContext

The streaming context from which to deserialize.

BadStateException(string)

Come on, you know how exceptions work. Why are you looking at this documentation?

public BadStateException(string message)

Parameters

message string

The message in the exception.

BadStateException(string, Exception)

Come on, you know how exceptions work. Why are you looking at this documentation?

public BadStateException(string message, Exception innerException)

Parameters

message string

The message in the exception.

innerException Exception

The innerException for this exception.