ManagementUnit Class

Definition

Encapsulates contextual information about the management unit currently being managed during the execution of a Web service method on a module service.

public ref class ManagementUnit abstract
public abstract class ManagementUnit
type ManagementUnit = class
Public MustInherit Class ManagementUnit
Inheritance
ManagementUnit
Derived

Remarks

This class is also used to retrieve configuration of the management unit.

The ManagementUnit reflects the current location in the Connections pane of IIS Manager.

This contextual information is serialized into the Web management cookie that is created by the login service and passed down by the client on each request.

Notes to Implementers

When you inherit from ManagementUnit, you must override the following members: Scope, CreateConfigurationMap(Boolean), GetAssociatedFrameworkVersion(), and GetTypeInformation(String, Boolean, Type).

Properties

Administration

Gets the current management administration configuration.

Configuration

Gets configuration information for the current management unit.

ConfigurationMap

Gets the configuration map for the management unit.

ConfigurationPath

Gets the configuration path information for the current management unit.

Context

Gets management context information for the current management unit.

FrameworkVersion

Gets the .NET Framework version for the current management unit.

IsUserServerAdministrator

Gets a value indicating whether the calling user is a server administrator.

ReadOnlyServerManager

Gets the server manager for the management unit.

Scope

When overridden in a derived class, gets the management scope associated with the current management unit.

ServerManager

Gets the server manager for the management unit.

Methods

CreateConfigurationMap(Boolean)

When overridden in a derived class, creates a file map that contains global configuration information that is applicable to this management unit.

GetAssociatedFrameworkVersion()

When overridden in a derived class, returns the .NET Framework version for the management unit.

GetFrameworkVersions(IManagementContext)

Returns the set of available.NET Framework versions.

GetModuleProviders(Type)

Returns a collection of module providers of the specified type.

GetModuleService(String)

Retrieves the ModuleService object that corresponds to the specified module name.

GetTypeInformation(String)

When the GetTypeInformation(String, Boolean, Type) method is overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name.

GetTypeInformation(String, Boolean)

When the GetTypeInformation(String, Boolean, Type) method is overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name, optionally including types that are not public.

GetTypeInformation(String, Boolean, Type)

When overridden in a derived class, retrieves the assembly-qualified type names for all types in the current management scope that derive from the specified base type name, optionally including types that are not public, and using the specified generator to create type information.

Update()

Commits changes on the ManagementUnit.

Applies to