Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ControlPanelCategoryInfo Class
Collapse the table of content
Expand the table of content

ControlPanelCategoryInfo Class

IIS 7.0

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


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

public sealed class ControlPanelCategoryInfo

The ControlPanelCategoryInfo type exposes the following members.

Public methodControlPanelCategoryInfoInitializes a new instance of the ControlPanelCategoryInfo class.

Public propertyCategorizationGets the category type for items in Features View of the IIS Manager workspace.
Public propertyDescriptionGets the description of the category.
Public propertyNameGets the name of the category.
Public propertyTextGets the name of the category, as displayed in the user interface.

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 methodToStringReturns the name of the category that is displayed in IIS Manager. (Overrides Object..::..ToString()()()().)

Public fieldStatic memberApplicationDevelopmentSpecifies the string "ApplicationDevelopment".
Public fieldStatic memberAspNetSpecifies the string "ASP.NET".
Public fieldStatic memberCommonHttpSpecifies the string "CommonHttp".
Public fieldStatic memberHealthAndDiagnosticsSpecifies the string "HealthAndDiagnostics".
Public fieldStatic memberIisSpecifies the string "IIS".
Public fieldStatic memberManagementSpecifies the string "Management".
Public fieldStatic memberPerformanceSpecifies the string "Performance".
Public fieldStatic memberSecuritySpecifies the string "Security".
Public fieldStatic memberServerSpecifies the string "Server".

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

        // Category
            ControlPanelCategoryInfo.Performance, modulePageInfo);
        // Area


}         // end of DemoModule class   

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

© 2015 Microsoft