Export (0) Print
Expand All

GetTaskList Method

IIS 7.0

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

Namespace:  Microsoft.Web.Management.Client.Extensions
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

TaskList GetTaskList(
	IServiceProvider serviceProvider,
	ModulePageInfo selectedModulePage
)

Parameters

serviceProvider
Type: System..::..IServiceProvider
An object that specifies the type of service provider for the requested TaskList object.
selectedModulePage
Type: Microsoft.Web.Management.Client..::..ModulePageInfo
The ModulePageInfo object for the requested TaskList.

Return Value

Type: Microsoft.Web.Management.Client..::..TaskList
The list of task items to be added to the Connection tasks list on the Start page.

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;
} 


Community Additions

ADD
Show:
© 2014 Microsoft