ModuleServiceProxy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes the functionality of the ModuleService derived class.
public ref class ModuleServiceProxy abstract
public abstract class ModuleServiceProxy
type ModuleServiceProxy = class
Public MustInherit Class ModuleServiceProxy
- Inheritance
-
ModuleServiceProxy
Examples
The following example shows how to create a class that derives from the ModuleServiceProxy class.
using System;
using System.Collections;
using Microsoft.Web.Management.Client;
namespace rxDemo {
internal class DemoModuleServiceProxy : ModuleServiceProxy {
public DemoModuleServiceProxy() : base() { }
public ArrayList GetSettings() {
return (ArrayList)Invoke("GetSettings");
}
}
}
Remarks
The constructor is never called directly. Create a custom class derived from ModuleServiceProxy.
Program logic should be implemented in a ModuleService derived class and exposed in a strongly typed manner by a wrapper class implemented in the ModuleServiceProxy derived class.
Constructors
ModuleServiceProxy() |
Initializes a new instance of the ModuleServiceProxy class. |
Methods
GetErrorInformation(Exception, ResourceManager, String, String) |
Retrieves error information. |
Invoke(String, Object[]) |
Calls the specified method using the specified arguments. |