Initializes a new instance of the TaskStatusChangedEventArgs class.
Namespace: AGI.Parallel.Client
Assembly: AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 1.2.0.275 (1.2.0.275)

Syntax

C#
public TaskStatusChangedEventArgs(
        TaskStatus previousStatus,
        TaskStatus newStatus,
        Task task,
        TaskState taskState
)
Visual Basic
Public Sub New ( _
        previousStatus As TaskStatus, _
        newStatus As TaskStatus, _
        task As Task, _
        taskState As TaskState _
)

Parameters

previousStatus
Type: AGI.Parallel.Infrastructure..::..TaskStatus
The previous task status.
newStatus
Type: AGI.Parallel.Infrastructure..::..TaskStatus
The new task status.
task
Type: AGI.Parallel.Infrastructure..::..Task
The task.
taskState
Type: TaskState
The task state.

See Also