Class CommandDispatchException
Raised if an error occurred during command dispatch
Inheritance
System.Object
System.Exception
CommandDispatchException
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: AzureFromTheTrenches.Commanding
Assembly: AzureFromTheTrenches.Commanding.dll
Syntax
public class CommandDispatchException : Exception, ISerializable
Constructors
| Improve this Doc View SourceCommandDispatchException(Object, ICommandDispatchContext, Type)
Constructor
Declaration
public CommandDispatchException(object command, ICommandDispatchContext commandDispatchContext, Type dispatcherType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | command | The command being dispatched |
| ICommandDispatchContext | commandDispatchContext | The dispatch context |
| System.Type | dispatcherType | The type of dispatcher in use |
CommandDispatchException(Object, ICommandDispatchContext, Type, String)
Constructor
Declaration
public CommandDispatchException(object command, ICommandDispatchContext commandDispatchContext, Type dispatcherType, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | command | The command being dispatched |
| ICommandDispatchContext | commandDispatchContext | The dispatch context |
| System.Type | dispatcherType | The type of dispatcher in use |
| System.String | message | Error message |
CommandDispatchException(Object, ICommandDispatchContext, Type, String, Exception)
Constructor
Declaration
public CommandDispatchException(object command, ICommandDispatchContext commandDispatchContext, Type dispatcherType, string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | command | The command being dispatched |
| ICommandDispatchContext | commandDispatchContext | The dispatch context |
| System.Type | dispatcherType | The type of dispatcher in use |
| System.String | message | Error message |
| System.Exception | innerException | The inner exceptiont that caused the fault |
Properties
| Improve this Doc View SourceCommand
The command being dispatcher
Declaration
public object Command { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
CommandDispatchContext
The dispatch context
Declaration
public ICommandDispatchContext CommandDispatchContext { get; }
Property Value
| Type | Description |
|---|---|
| ICommandDispatchContext |
DispatcherType
The type of dispatcher in use
Declaration
public Type DispatcherType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Implements
System.Runtime.Serialization.ISerializable