Class CommandExecutionException<TCommand>
Raised if an error occurs during command execution
Inheritance
System.Object
CommandExecutionException<TCommand>
Assembly: AzureFromTheTrenches.Commanding.dll
Syntax
public class CommandExecutionException<TCommand> : CommandExecutionException where TCommand : class
Type Parameters
| Name |
Description |
| TCommand |
|
Constructors
|
Improve this Doc
View Source
CommandExecutionException(TCommand, Type, Int32, ICommandDispatchContext)
Declaration
public CommandExecutionException(TCommand command, Type handlerType, int handlerExecutionIndex, ICommandDispatchContext commandDispatchContext)
Parameters
| Type |
Name |
Description |
| TCommand |
command |
|
| Type |
handlerType |
|
| System.Int32 |
handlerExecutionIndex |
|
| ICommandDispatchContext |
commandDispatchContext |
|
|
Improve this Doc
View Source
CommandExecutionException(TCommand, Type, Int32, ICommandDispatchContext, String)
Declaration
public CommandExecutionException(TCommand command, Type handlerType, int handlerExecutionIndex, ICommandDispatchContext commandDispatchContext, string message)
Parameters
| Type |
Name |
Description |
| TCommand |
command |
|
| Type |
handlerType |
|
| System.Int32 |
handlerExecutionIndex |
|
| ICommandDispatchContext |
commandDispatchContext |
|
| System.String |
message |
|
|
Improve this Doc
View Source
CommandExecutionException(TCommand, Type, Int32, ICommandDispatchContext, String, Exception)
Declaration
public CommandExecutionException(TCommand command, Type handlerType, int handlerExecutionIndex, ICommandDispatchContext commandDispatchContext, string message, Exception innerException)
Parameters
| Type |
Name |
Description |
| TCommand |
command |
|
| Type |
handlerType |
|
| System.Int32 |
handlerExecutionIndex |
|
| ICommandDispatchContext |
commandDispatchContext |
|
| System.String |
message |
|
| Exception |
innerException |
|
Properties
|
Improve this Doc
View Source
Command
Declaration
public TCommand Command { get; }
Property Value
| Type |
Description |
| TCommand |
|