Show / Hide Table of Contents

Class CommandExecutionException<TCommand>

Raised if an error occurs during command execution

Inheritance
System.Object
CommandExecutionException
CommandExecutionException<TCommand>
Inherited Members
CommandExecutionException.HandlerType
CommandExecutionException.HandlerExecutionIndex
CommandExecutionException.CommandDispatchContext
Namespace: AzureFromTheTrenches.Commanding
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

The command

Declaration
public TCommand Command { get; }
Property Value
Type Description
TCommand
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall