Class InstanceAlreadySubscribedToBusException
The exception that is thrown when an attempt is made to connect a Copper.MassTransit.ReceiveEndpointConnector that is already connected to the provided queue queueName.
Inheritance
Implements
Namespace: Copper.MassTransit.Exceptions
Assembly: Copper.MassTransit.dll
Syntax
[Serializable]
public class InstanceAlreadySubscribedToBusException : Exception, ISerializable
Constructors
View SourceInstanceAlreadySubscribedToBusException()
Initializes a new instance of the InstanceAlreadySubscribedToBusException class.
Declaration
protected InstanceAlreadySubscribedToBusException()
InstanceAlreadySubscribedToBusException(SerializationInfo, StreamingContext)
Initializes a new instance of the InstanceAlreadySubscribedToBusException class.
Declaration
protected InstanceAlreadySubscribedToBusException(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. |
InstanceAlreadySubscribedToBusException(String)
Initializes a new instance of the InstanceAlreadySubscribedToBusException class.
Declaration
public InstanceAlreadySubscribedToBusException(string queueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | queueName | The queue name. |
InstanceAlreadySubscribedToBusException(String, Exception)
Initializes a new instance of the InstanceAlreadySubscribedToBusException class.
Declaration
protected InstanceAlreadySubscribedToBusException(string queueName, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | queueName | The queue name. |
System.Exception | innerException | The inner exception. |