Class VssBadStateException
Exception class indicating that the vss object referenced was not in a correct state for the requested operation.
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public class VssBadStateException : VssException, ISerializable, _Exception
Constructors
| Improve this Doc View SourceVssBadStateException()
Initializes a new instance of the VssBadStateException class.
Declaration
public VssBadStateException()
VssBadStateException(SerializationInfo, StreamingContext)
Initializes a new instance of the VssBadStateException class with serialized data.
Declaration
protected VssBadStateException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
SerializationException | The class name is null or HResult is zero (0). |
VssBadStateException(String)
Initializes a new instance of the VssBadStateException class with the specified error message.
Declaration
public VssBadStateException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
VssBadStateException(String, Exception)
Initializes a new instance of the VssBadStateException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public VssBadStateException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
Exception | innerException | The inner exception. |