Skip to main content

Class CommandExecutionResult

The result of command execution

Inheritance

↳ object

    CommandExecutionResult

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class CommandExecutionResult

Constructors

CommandExecutionResult(string, bool, ProcessInstance, string)

Declaration
public CommandExecutionResult(string commandName, bool wasExecuted, ProcessInstance processInstance, string message = null)
Parameters
TypeNameDescription
stringcommandName
boolwasExecuted
ProcessInstanceprocessInstance
stringmessage

Properties

CommandName

Name of command which was executed

Declaration
public string CommandName { get; set; }
Property value
TypeDescription
string

WasExecuted

If true, the command was executed

Declaration
public bool WasExecuted { get; set; }
Property value
TypeDescription
bool

ProcessInstance

The process, after executing the command

Declaration
public ProcessInstance ProcessInstance { get; set; }
Property value
TypeDescription
ProcessInstance

Message

Declaration
public string Message { get; set; }
Property value
TypeDescription
string

Extension Methods