TaskItem Constructor (String, String)

IIS 7.0
 

Initializes a new instance of the TaskItem class.

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

protected TaskItem(
	string text,
	string category
)

Parameters

text
Type: System.String

An arbitrary string.

category
Type: System.String

The category name.

The following example creates Microsoft.Web.Management.Client.Win32.MethodTaskItem and Microsoft.Web.Management.Client.MessageTaskItem objects and adds them to the item array.

Return to top
Show: