Class VssException
Base class for exceptions indicating an error occuring during a VSS operation.
Inheritance
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public abstract class VssException : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceVssException()
Initializes a new instance of the VssException class.
Declaration
protected VssException()
VssException(SerializationInfo, StreamingContext)
Initializes a new instance of the VssException class with serialized data.
Declaration
protected VssException(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). |
VssException(String)
Initializes a new instance of the VssException class with the specified error message.
Declaration
protected VssException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
VssException(String, Exception)
Initializes a new instance of the VssException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
protected VssException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
Exception | innerException | The inner exception. |