ModuleServiceProxy Constructor
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.
Initializes a new instance of the ModuleServiceProxy class.
protected:
ModuleServiceProxy();
protected ModuleServiceProxy();
Protected Sub New ()
Examples
protected override void OnActivated(bool initialActivation) {
base.OnActivated(initialActivation);
if (initialActivation) {
_serviceProxy = (DemoModuleServiceProxy)
Connection.CreateProxy(Module,
typeof(DemoModuleServiceProxy));
Refresh();
}
}
Remarks
The ModuleServiceProxy constructor is never called directly. The ModuleServiceProxy derived class is created by calling the Microsoft.Web.Management.Client.Connection.CreateProxy or Microsoft.Web.Management.Client.Win32.ModulePage.CreateProxy method.