MethodTaskItem Class

Definition

Provides a container class for tasks.

public ref class MethodTaskItem sealed : Microsoft::Web::Management::Client::TaskItem
public sealed class MethodTaskItem : Microsoft.Web.Management.Client.TaskItem
type MethodTaskItem = class
    inherit TaskItem
Public NotInheritable Class MethodTaskItem
Inherits TaskItem
Inheritance
MethodTaskItem

Remarks

This class creates links in the Actions pane and shortcut menu items in the Connections pane of IIS Manager.

Constructors

MethodTaskItem(String, String, String)

Initializes a new instance of the MethodTaskItem class by using the specified method name, text, and category.

MethodTaskItem(String, String, String, String)

Initializes a new instance of the MethodTaskItem class by using the specified method name, text, category, and description.

MethodTaskItem(String, String, String, String, Image)

Initializes a new instance of the MethodTaskItem class by using the specified method name, text, category, description, and menu icon.

MethodTaskItem(String, String, String, String, Image, Object)

Initializes a new instance of the MethodTaskItem class by using the specified method name, text, category, description, menu icon, and user data.

Properties

Category

Gets the category.

(Inherited from TaskItem)
CausesNavigation
Description

Gets the description that is set in the TaskList() constructor.

(Inherited from TaskItem)
Enabled

Gets or sets a value indicating whether the object is enabled.

(Inherited from TaskItem)
Image

Gets the menu item icon that is associated with the task.

MethodName

Gets the method name.

Properties

Gets the IDictionary member of the class.

(Inherited from TaskItem)
Text

Gets the text that is set in the TaskList() constructor.

(Inherited from TaskItem)
Usage

Gets or sets the method usage.

UserData

Gets the user data for the task item.

Applies to