ITaskExecutionContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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. |
Log(ITask, String) |
Indicates the progress of the task execution in the log with the specified string parameter. |
ReportProgress(ITask, Int32, String) |
Indicates a method used to report the progress of the task. |
Events
CancelRequested |
Occurs when cancel is requested. |