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