ITaskExecutionContext Interface
Manages the execution context for the current thread.
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | CancelRequested | Occurs when cancel is requested. |


