TaskExecutionContext Class

 

Manages the execution context for the current task.

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

System::Object
  Microsoft.SqlServer.Management.TaskForms::TaskExecutionContext

public ref class TaskExecutionContext : ITaskExecutionContext

NameDescription
System_CAPS_pubmethodTaskExecutionContext(ITaskManager^)

Initializes a new instance of the TaskExecutionContext class with the specified taskManager parameter.

NameDescription
System_CAPS_pubpropertyContext

Gets the data that comes from the environment.

System_CAPS_pubpropertyDataBus

Gets the data bus of the context.

System_CAPS_pubpropertyIsCancelable

Gets or sets a value that indicates whether the task can be canceled.

System_CAPS_pubpropertyIsCancelRequested

Gets a value that indicates whether there is a request to cancel the task.

System_CAPS_pubpropertyMoniker

Gets the task moniker

System_CAPS_pubpropertyRuntimeProperties

Gets the temporary storage used by the tasks.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLog(ITask^, Exception^)

Logs the progress of the task execution for the specified task and exception.

System_CAPS_pubmethodLog(ITask^, String^)

Logs the progress of the task execution.

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

Logs the progress of the task execution with the specified task, message, exception, and log entry type.

System_CAPS_pubmethodLog(ITask^, String^, TaskExecutionLogEntryType)

Logs the progress of the task execution with the specified task, message, and log entry type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReportProgress(ITask^, Int32, String^)

Reports the task progress. This class cannot be inherited.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCancelableChanged

Occurs when IsCancelable changes.

System_CAPS_pubeventCancelRequested

Occurs when IsCancelRequested changes.

System_CAPS_pubeventExecutionProgress

Occurs when the progress of executing the control is changed.

System_CAPS_pubeventLogEntry

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.

Return to top
Show: