Class SequenceException
The exception that is thrown when a sequence cannot be properly recreated (e.g. because of bad ordering or similar).
Implements
Inherited Members
Namespace: Silverback.Messaging.Sequences
Assembly: Silverback.Integration.dll
Syntax
[Serializable]
public class SequenceException : SilverbackException, ISerializable
Constructors
| Improve this doc View sourceSequenceException()
Initializes a new instance of the SequenceException class.
Declaration
public SequenceException()
SequenceException(SerializationInfo, StreamingContext)
Initializes a new instance of the SequenceException class with the serialized data.
Declaration
protected SequenceException(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. |
SequenceException(String)
Initializes a new instance of the SequenceException class with the specified message.
Declaration
public SequenceException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
SequenceException(String, Exception)
Initializes a new instance of the SequenceException class with the specified message and inner exception.
Declaration
public SequenceException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |