Class VssUnexpectedErrorException
Exception class indicating that an unexpected error occured. The error code is logged in the error log file.
Inherited Members
Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common.dll
Syntax
[Serializable]
public class VssUnexpectedErrorException : VssException, ISerializable, _Exception
Constructors
| Improve this Doc View SourceVssUnexpectedErrorException()
Initializes a new instance of the VssException class.
Declaration
public VssUnexpectedErrorException()
VssUnexpectedErrorException(SerializationInfo, StreamingContext)
Initializes a new instance of the VssUnexpectedErrorException class with serialized data.
Declaration
protected VssUnexpectedErrorException(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). |
VssUnexpectedErrorException(String)
Initializes a new instance of the VssUnexpectedErrorException class with the specified error message.
Declaration
public VssUnexpectedErrorException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
VssUnexpectedErrorException(String, Exception)
Initializes a new instance of the VssUnexpectedErrorException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public VssUnexpectedErrorException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
Exception | innerException | The inner exception. |