ITaskExecutionContext Interface

 

Manages the execution context for the current thread.

Namespace:   Microsoft.SqlServer.Management
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

public interface class ITaskExecutionContext

NameDescription
System_CAPS_pubpropertyContext

Gets the data that is coming from the environment.

System_CAPS_pubpropertyDataBus

Gets the data collected from the user to the environment.

System_CAPS_pubpropertyIsCancelable

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

System_CAPS_pubpropertyIsCancelRequested

Gets a value indicating whether cancel is requested.

System_CAPS_pubpropertyMoniker

Gets the task moniker.

System_CAPS_pubpropertyRuntimeProperties

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

NameDescription
System_CAPS_pubmethodLog(ITask^, Exception^)

Records the progress of the task execution.

System_CAPS_pubmethodLog(ITask^, String^)

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

System_CAPS_pubmethodLog(ITask^, String^, Exception^, TaskExecutionLogEntryType)

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

System_CAPS_pubmethodLog(ITask^, String^, TaskExecutionLogEntryType)

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

System_CAPS_pubmethodReportProgress(ITask^, Int32, String^)

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

NameDescription
System_CAPS_pubeventCancelRequested

Occurs when cancel is requested.

Return to top
Show: