Show / Hide Table of Contents

Class CommandDispatchException

Raised if an error occurred during command dispatch

Inheritance
System.Object
CommandDispatchException
Namespace: AzureFromTheTrenches.Commanding
Assembly: AzureFromTheTrenches.Commanding.dll
Syntax
public class CommandDispatchException : Exception

Constructors

| Improve this Doc View Source

CommandDispatchException(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

Type dispatcherType

The type of dispatcher in use

| Improve this Doc View Source

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

Type dispatcherType

The type of dispatcher in use

System.String message

Error message

| Improve this Doc View Source

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

Type dispatcherType

The type of dispatcher in use

System.String message

Error message

Exception innerException

The inner exceptiont that caused the fault

Properties

| Improve this Doc View Source

Command

The command being dispatcher

Declaration
public object Command { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

CommandDispatchContext

The dispatch context

Declaration
public ICommandDispatchContext CommandDispatchContext { get; }
Property Value
Type Description
ICommandDispatchContext
| Improve this Doc View Source

DispatcherType

The type of dispatcher in use

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