ITaskExecutionContext Interface

Definition

Manages the execution context for the current thread.

public interface class ITaskExecutionContext
public interface ITaskExecutionContext
type ITaskExecutionContext = interface
Public Interface ITaskExecutionContext
Derived

Properties

Context

Gets the data that is coming from the environment.

DataBus

Gets the data collected from the user to the environment.

IsCancelable

Gets or sets a value indicating whether this Task is cancelable.

IsCancelRequested

Gets a value indicating whether cancel is requested.

Moniker

Gets the task moniker.

RuntimeProperties

Gets the temporary storage used by the tasks that contains the server connection.

Methods

Log(ITask, Exception)

Records the progress of the task execution.

Log(ITask, String)

Indicates the progress of the task execution in the log with the specified string parameter.

Log(ITask, String, Exception, TaskExecutionLogEntryType)

Indicates the progress of the task exection in the log with the specified string, error message, and log entry type.

Log(ITask, String, TaskExecutionLogEntryType)

Indicates the progress of the task exection in the log with the specified string and log entry type.

ReportProgress(ITask, Int32, String)

Indicates a method used to report the progress of the task.

Events

CancelRequested

Occurs when cancel is requested.

Applies to