ControlPanelCategoryInfo ControlPanelCategoryInfo ControlPanelCategoryInfo ControlPanelCategoryInfo Class

Definition

Represents a category of items in Features View of the IIS Manager workspace.

public ref class ControlPanelCategoryInfo sealed
public sealed class ControlPanelCategoryInfo
type ControlPanelCategoryInfo = class
Public NotInheritable Class ControlPanelCategoryInfo
Inheritance
ControlPanelCategoryInfoControlPanelCategoryInfoControlPanelCategoryInfoControlPanelCategoryInfo

Examples

The following example creates and registers an IControlPanel interface in the Performance category.

internal class DemoModule : Microsoft.Web.Management.Client.Module {

    public DemoModule()
        : base() {
    }

    protected override void Initialize(IServiceProvider serviceProvider, ModuleInfo moduleInfo) {
        base.Initialize(serviceProvider, moduleInfo);
        SH.SP = serviceProvider;
        IControlPanel controlPanel = (IControlPanel)GetService(typeof(IControlPanel));

        ModulePageInfo modulePageInfo = new ModulePageInfo(this,
              typeof(DemoPage),                       // pageType
              "Sample ModulePage Info Title",            // Title
             "Sample ModulePage Description",        // Description
             rLoadImg.loadImgs("rSmall.bmp"),         // small image
             rLoadImg.loadImgs("rLarge.bmp"),         // large image
             "ModulePage Sample long description"     // long description
             );


        controlPanel.RegisterPage(modulePageInfo);
        // Category
        controlPanel.RegisterPage(
            ControlPanelCategoryInfo.Performance, modulePageInfo);
        // Area
        controlPanel.RegisterPage(ControlPanelCategoryInfo.Iis, 
            modulePageInfo);

    }

}         // end of DemoModule class   

Constructors

ControlPanelCategoryInfo(String, String, String, ControlPanelCategorization) ControlPanelCategoryInfo(String, String, String, ControlPanelCategorization) ControlPanelCategoryInfo(String, String, String, ControlPanelCategorization) ControlPanelCategoryInfo(String, String, String, ControlPanelCategorization)

Initializes a new instance of the ControlPanelCategoryInfo class.

Fields

ApplicationDevelopment ApplicationDevelopment ApplicationDevelopment ApplicationDevelopment

Specifies the string "ApplicationDevelopment".

AspNet AspNet AspNet AspNet

Specifies the string "ASP.NET".

CommonHttp CommonHttp CommonHttp CommonHttp

Specifies the string "CommonHttp".

HealthAndDiagnostics HealthAndDiagnostics HealthAndDiagnostics HealthAndDiagnostics

Specifies the string "HealthAndDiagnostics".

Iis Iis Iis Iis

Specifies the string "IIS".

Management Management Management Management

Specifies the string "Management".

Performance Performance Performance Performance

Specifies the string "Performance".

Security Security Security Security

Specifies the string "Security".

Server Server Server Server

Specifies the string "Server".

Properties

Categorization Categorization Categorization Categorization

Gets the category type for items in Features View of the IIS Manager workspace.

Description Description Description Description

Gets the description of the category.

Name Name Name Name

Gets the name of the category.

Text Text Text Text

Gets the name of the category, as displayed in the user interface.

Methods

ToString() ToString() ToString() ToString()

Returns the name of the category that is displayed in IIS Manager.

Applies to