Export (0) Print
Expand All

MethodTaskItem Class

Provides a container class for tasks.

System..::..Object
  Microsoft.Web.Management.Client..::..TaskItem
    Microsoft.Web.Management.Client.Win32..::..MethodTaskItem

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

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class MethodTaskItem : TaskItem

The MethodTaskItem type exposes the following members.

  NameDescription
Public methodMethodTaskItem(String, String, String)Initializes a new instance of the MethodTaskItem class by using the specified method name, text, and category.
Public methodMethodTaskItem(String, String, String, String)Initializes a new instance of the MethodTaskItem class by using the specified method name, text, category, and description.
Public methodMethodTaskItem(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.
Public methodMethodTaskItem(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.
Top

  NameDescription
Public propertyCategoryGets the category. (Inherited from TaskItem.)
Public propertyCausesNavigationThis property will be removed in a future release of IIS 7.
Public propertyDescriptionGets the description that is set in the TaskList constructor. (Inherited from TaskItem.)
Public propertyEnabledGets or sets a value indicating whether the object is enabled. (Inherited from TaskItem.)
Public propertyImageGets the menu item icon that is associated with the task.
Public propertyMethodNameGets the method name.
Public propertyPropertiesGets the System.Collections..::..IDictionary member of the class. (Inherited from TaskItem.)
Public propertyTextGets the text that is set in the TaskList constructor. (Inherited from TaskItem.)
Public propertyUsageGets or sets the method usage.
Public propertyUserDataGets the user data for the task item.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft