ITaskHandler 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.
Interface representing the objects tracked by the IVsTaskStatusCenterService. These objects are given back to callers to interact with the IVsTaskStatusCenterService with regards to their registered task.
public interface class ITaskHandler
[System.Runtime.InteropServices.Guid("C9AF130E-73DB-461B-A011-2AC4E99F2FFD")]
public interface ITaskHandler
[<System.Runtime.InteropServices.Guid("C9AF130E-73DB-461B-A011-2AC4E99F2FFD")>]
type ITaskHandler = interface
Public Interface ITaskHandler
- Derived
- Attributes
Properties
Options |
Gets a copy of the options configured at initialization for an ITaskHandler behaviour and data. |
Progress |
Gets the IProgress<T> from this. Can be used to update the behaviour and state of this via Report(T). |
UserCancellation |
Gets the token that indicates whether the user has requested cancellation. |
Methods
RegisterTask(Task) |
Registers task with the IVsTaskStatusCenterService that the caller wants to have tracked. Task will be displayed in the IVsTaskStatusCenterService UI. |