Class ProcessExecutingContext
Represents process execution context.
Inheritance
System.Object
ProcessExecutingContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class ProcessExecutingContext
Constructors
ProcessExecutingContext(UserConnection)
Creates a new instance of the ProcessExecutingContext type.
Declaration
public ProcessExecutingContext(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Properties
CancellationToken
Triggered when process cancellation requested.
Declaration
public CancellationToken CancellationToken { get; }
Property Value
Type | Description |
---|---|
System.Threading.CancellationToken |
Process
Gets or sets instance of the process.
Declaration
public Process Process { get; set; }
Property Value
Type | Description |
---|---|
Process |
QueueElement
Gets or sets process queue element.
Declaration
public ProcessQueueElement QueueElement { get; set; }
Property Value
Type | Description |
---|---|
ProcessQueueElement |
QueueTasks
Gets queue of the task names.
Declaration
public Queue<string> QueueTasks { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Queue<System.String> |
QueueTasksV2
Gets queue of the task descriptors.
Declaration
public Queue<ProcessQueueElement> QueueTasksV2 { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Queue<ProcessQueueElement> |
SenderName
Gets or sets name of the sender.
Declaration
public string SenderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThrowEventArgs
Gets or sets event arguments to throw.
Declaration
public object ThrowEventArgs { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
UserConnection
Gets user connection.
Declaration
public UserConnection UserConnection { get; }
Property Value
Type | Description |
---|---|
UserConnection |