IVsTaskProgressService.TryGetTaskCollection Method
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.
Gets an existing task collection.
public:
bool TryGetTaskCollection(System::String ^ taskCollectionId, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TaskStatusCenter::IVsTaskProgressCollection ^ % taskCollection);
public bool TryGetTaskCollection (string taskCollectionId, out Microsoft.VisualStudio.TaskStatusCenter.IVsTaskProgressCollection taskCollection);
abstract member TryGetTaskCollection : string * IVsTaskProgressCollection -> bool
Public Function TryGetTaskCollection (taskCollectionId As String, ByRef taskCollection As IVsTaskProgressCollection) As Boolean
Parameters
- taskCollectionId
- String
A task collection id.
- taskCollection
- IVsTaskProgressCollection
The IVsTaskProgressCollection associated with the id if available. null if it's not available.
Returns
True: if the task collection was found. False: otherwise.