ModuleService Class

ModuleService Class

IIS 7.0
 

Provides the base class for implementing new management modules (IIS Manager extensions). 

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


public abstract class ModuleService

NameDescription
System_CAPS_protmethodModuleService()

Initializes a new instance of the ModuleService class.

NameDescription
System_CAPS_pubpropertyContext

Gets the management context of the module service.

System_CAPS_protpropertyManagementUnit

Gets the ManagementUnit that is currently being managed by the module service.

System_CAPS_protpropertyModuleName

Gets the name of the assembly that contains the module service.

NameDescription
System_CAPS_protmethodCreateChildService(Type)

Creates a child ModuleService object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRaiseException(String)

Throws a WebManagementServiceException based on the specified resource name.

System_CAPS_protmethodRaiseException(String, String)

Throws a WebManagementServiceException based on the specified resource name and error message.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The ModuleService members are exposed through the ModuleServiceProxy class. A derived ModuleService class should contain all the program logic for the management module.

A module service is a Web service that executes code to implement the features that access and modify management information.

The following example shows how to create a simple class that derives from the ModuleService class and retrieves the application's settings.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft