Show / Hide Table of Contents

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

System.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

System.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

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 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
System.Type

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX