Class MultipleHandlersRegisteredException
The System.Exception that is thrown when more than one IHandler if found for a given IMessage that only expects one.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
MultipleHandlersRegisteredException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Cqrs.Exceptions
Assembly: Cqrs.dll
Syntax
[Serializable]
public abstract class MultipleHandlersRegisteredException : InvalidOperationException, ISerializable, _Exception
Constructors
MultipleHandlersRegisteredException(String)
Instantiates a new instance of MultipleHandlersRegisteredException with a specified error message.
Declaration
protected MultipleHandlersRegisteredException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
MultipleHandlersRegisteredException(Type)
Instantiates a new instance of MultipleHandlersRegisteredException.
Declaration
protected MultipleHandlersRegisteredException(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The System.Type of IMessage that expected only one IHandler. |