Class BadStateException
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
infoSerializationInfoThe serialization info for the exception.
contextStreamingContextThe 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
messagestringThe 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)