Share via


IHomepageTaskListProvider.GetTaskList Method

Definition

Returns the list of task items to be added to the Connection tasks list on the Start page.

public:
 Microsoft::Web::Management::Client::TaskList ^ GetTaskList(IServiceProvider ^ serviceProvider, Microsoft::Web::Management::Client::ModulePageInfo ^ selectedModulePage);
public Microsoft.Web.Management.Client.TaskList GetTaskList (IServiceProvider serviceProvider, Microsoft.Web.Management.Client.ModulePageInfo selectedModulePage);
abstract member GetTaskList : IServiceProvider * Microsoft.Web.Management.Client.ModulePageInfo -> Microsoft.Web.Management.Client.TaskList
Public Function GetTaskList (serviceProvider As IServiceProvider, selectedModulePage As ModulePageInfo) As TaskList

Parameters

serviceProvider
IServiceProvider

An object that specifies the type of service provider for the requested TaskList object.

selectedModulePage
ModulePageInfo

The ModulePageInfo object for the requested TaskList.

Returns

The list of task items to be added to the Connection tasks list on the Start page.

Examples

The following example implements the GetTaskList method.

/// <summary>
/// This method is called by the Homepage to query all the tasks that should be displayed.
/// </summary>
public TaskList GetTaskList(IServiceProvider serviceProvider, ModulePageInfo selectedModulePage) {
    return _taskList;
} 

Applies to