Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
.NET Framework Class Library
ModulePageInfo Class

Represents a page of user interface for a module.

Namespace:  Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)
Visual Basic (Declaration)
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Public NotInheritable Class ModulePageInfo
Visual Basic (Usage)
Dim instance As ModulePageInfo
C#
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class ModulePageInfo
Visual C++
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
public ref class ModulePageInfo sealed
JScript
public final class ModulePageInfo

A ModulePageInfo object is used to register an item in the control panel of the connection and for navigation. The ModulePageInfo instance is typically created in the Module..::.Initialize method.

The following example creates a ModulePageInfo instance and registers it by using the IControlPanel..::.RegisterPage method.

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

        protected override void Initialize(
            IServiceProvider serviceProvider, ModuleInfo moduleInfo) 
        {

            base.Initialize(serviceProvider, moduleInfo);
            Trace.WriteLine(" ClientModuleTypeName : " + 
                moduleInfo.ClientModuleTypeName);
            Trace.WriteLine(" Name : " + moduleInfo.Name);

            // Clear the trace window.
            resetTrace();

            IControlPanel controlPanel = 
                (IControlPanel)GetService(typeof(IControlPanel));
            ModulePageInfo modPgInfo = getModulePage();

            controlPanel.RegisterPage(modPgInfo);
            controlPanel.RegisterPage(
                ControlPanelCategoryInfo.HealthAndDiagnostics, modPgInfo);



...


}
System..::.Object
  Microsoft.Web.Management.Client..::.ModulePageInfo
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker