Class CommandExecutionException<TCommand>
Raised if an error occurs during command execution
Inheritance
System.Object
System.Exception
CommandExecutionException<TCommand>
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 CommandExecutionException<TCommand> : CommandExecutionException, ISerializable where TCommand : class
Type Parameters
| Name | Description |
|---|---|
| TCommand |
Constructors
| Improve this Doc View SourceCommandExecutionException(TCommand, Type, Int32, ICommandDispatchContext)
Declaration
public CommandExecutionException(TCommand command, Type handlerType, int handlerExecutionIndex, ICommandDispatchContext commandDispatchContext)
Parameters
| Type | Name | Description |
|---|---|---|
| TCommand | command | |
| System.Type | handlerType | |
| System.Int32 | handlerExecutionIndex | |
| ICommandDispatchContext | commandDispatchContext |
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 | |
| System.Type | handlerType | |
| System.Int32 | handlerExecutionIndex | |
| ICommandDispatchContext | commandDispatchContext | |
| System.String | message |
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 | |
| System.Type | handlerType | |
| System.Int32 | handlerExecutionIndex | |
| ICommandDispatchContext | commandDispatchContext | |
| System.String | message | |
| System.Exception | innerException |
Properties
| Improve this Doc View SourceCommand
The command
Declaration
public TCommand Command { get; }
Property Value
| Type | Description |
|---|---|
| TCommand |
Implements
System.Runtime.Serialization.ISerializable