ITaskExecutionContext ITaskExecutionContext ITaskExecutionContext Interface

Definition

Manages the execution context for the current thread.

public interface class ITaskExecutionContext
public interface ITaskExecutionContext
Public Interface ITaskExecutionContext
Derived

Properties

Context Context Context

Gets the data that is coming from the environment.

DataBus DataBus DataBus

Gets the data collected from the user to the environment.

IsCancelable IsCancelable IsCancelable

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

IsCancelRequested IsCancelRequested IsCancelRequested

Gets a value indicating whether cancel is requested.

Moniker Moniker Moniker

Gets the task moniker.

RuntimeProperties RuntimeProperties RuntimeProperties

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

Methods

Log(ITask, Exception) Log(ITask, Exception) Log(ITask, Exception)

Records the progress of the task execution.

Log(ITask, String) Log(ITask, String) Log(ITask, String)

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

Log(ITask, String, TaskExecutionLogEntryType) Log(ITask, String, TaskExecutionLogEntryType) Log(ITask, String, TaskExecutionLogEntryType)

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

Log(ITask, String, Exception, TaskExecutionLogEntryType) Log(ITask, String, Exception, TaskExecutionLogEntryType) 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.

ReportProgress(ITask, Int32, String) ReportProgress(ITask, Int32, String) ReportProgress(ITask, Int32, String)

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

Events

CancelRequested CancelRequested CancelRequested

Occurs when cancel is requested.

Applies to