Share via


IVsTaskProgressService.TryGetTaskCollection Method

Definition

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.

Applies to