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)
The ControlPanelCategoryInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ControlPanelCategoryInfo | Initializes a new instance of the ControlPanelCategoryInfo class. |
| Name | Description | |
|---|---|---|
![]() | Categorization | Gets the category type for items in Features View of the IIS Manager workspace. |
![]() | Description | Gets the description of the category. |
![]() | Name | Gets the name of the category. |
![]() | Text | Gets the name of the category, as displayed in the user interface. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns the name of the category that is displayed in IIS Manager. (Overrides Object..::..ToString()()()().) |
| Name | Description | |
|---|---|---|
![]() ![]() | ApplicationDevelopment | Specifies the string "ApplicationDevelopment". |
![]() ![]() | AspNet | Specifies the string "ASP.NET". |
![]() ![]() | CommonHttp | Specifies the string "CommonHttp". |
![]() ![]() | HealthAndDiagnostics | Specifies the string "HealthAndDiagnostics". |
![]() ![]() | Iis | Specifies the string "IIS". |
![]() ![]() | Management | Specifies the string "Management". |
![]() ![]() | Performance | Specifies the string "Performance". |
![]() ![]() | Security | Specifies the string "Security". |
![]() ![]() | Server | Specifies 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 ); controlPanel.RegisterPage(modulePageInfo); // Category controlPanel.RegisterPage( ControlPanelCategoryInfo.Performance, modulePageInfo); // Area controlPanel.RegisterPage(ControlPanelCategoryInfo.Iis, modulePageInfo); } } // end of DemoModule class
