Class SilverbackException
The base class for all the custom exceptions thrown by Silverback.
Inheritance
SilverbackException
Implements
Inherited Members
Namespace: Silverback
Assembly: Silverback.Core.dll
Syntax
[Serializable]
public abstract class SilverbackException : Exception, ISerializable
Constructors
| Improve this doc View sourceSilverbackException()
Initializes a new instance of the SilverbackException class.
Declaration
protected SilverbackException()
SilverbackException(SerializationInfo, StreamingContext)
Initializes a new instance of the SilverbackException class with the serialized data.
Declaration
protected SilverbackException(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. |
SilverbackException(string)
Initializes a new instance of the SilverbackException class with the specified message.
Declaration
protected SilverbackException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
SilverbackException(string, Exception)
Initializes a new instance of the SilverbackException class with the specified message and inner exception.
Declaration
protected SilverbackException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
Exception | innerException | The inner exception. |