TaskExecutionContext Class
Manages the execution context for the current task.
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
| Name | Description | |
|---|---|---|
![]() | TaskExecutionContext(ITaskManager^) | Initializes a new instance of the TaskExecutionContext class with the specified taskManager parameter. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the data that comes from the environment. |
![]() | DataBus | Gets the data bus of the context. |
![]() | IsCancelable | Gets or sets a value that indicates whether the task can be canceled. |
![]() | IsCancelRequested | Gets a value that indicates whether there is a request to cancel the task. |
![]() | Moniker | Gets the task moniker |
![]() | RuntimeProperties | Gets the temporary storage used by the tasks. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Log(ITask^, Exception^) | Logs the progress of the task execution for the specified task and exception. |
![]() | Log(ITask^, String^) | Logs the progress of the task execution. |
![]() | Log(ITask^, String^, Exception^, TaskExecutionLogEntryType) | Logs the progress of the task execution with the specified task, message, exception, and log entry type. |
![]() | Log(ITask^, String^, TaskExecutionLogEntryType) | Logs the progress of the task execution with the specified task, message, and log entry type. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ReportProgress(ITask^, Int32, String^) | Reports the task progress. This class cannot be inherited. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | CancelableChanged | Occurs when IsCancelable changes. |
![]() | CancelRequested | Occurs when IsCancelRequested changes. |
![]() | ExecutionProgress | Occurs when the progress of executing the control is changed. |
![]() | LogEntry | Occurs when the log entry of the control changed. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



