Class SilverbackException
The base class for all the custom exceptions thrown by Silverback.
Inheritance
System.Object
System.Exception
SilverbackException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.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 |
---|---|---|
System.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 |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |
Implements
System.Runtime.Serialization.ISerializable