다음을 통해 공유


ModuleServiceProxy 생성자

정의

ModuleServiceProxy 클래스의 새 인스턴스를 초기화합니다.

protected:
 ModuleServiceProxy();
protected ModuleServiceProxy ();
Protected Sub New ()

예제

protected override void OnActivated(bool initialActivation) {
    base.OnActivated(initialActivation);

    if (initialActivation) {
        _serviceProxy = (DemoModuleServiceProxy)
            Connection.CreateProxy(Module,
            typeof(DemoModuleServiceProxy));

        Refresh();
    }
}

설명

ModuleServiceProxy 생성자는 직접 호출되지 않습니다. 파생 클래스는 ModuleServiceProxy 또는 Microsoft.Web.Management.Client.Win32.ModulePage.CreateProxy 메서드를 Microsoft.Web.Management.Client.Connection.CreateProxy 호출하여 생성됩니다.

적용 대상