ModuleServiceProxy Construtor
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe ModuleServiceProxy.
protected:
ModuleServiceProxy();
protected ModuleServiceProxy ();
Protected Sub New ()
Exemplos
protected override void OnActivated(bool initialActivation) {
base.OnActivated(initialActivation);
if (initialActivation) {
_serviceProxy = (DemoModuleServiceProxy)
Connection.CreateProxy(Module,
typeof(DemoModuleServiceProxy));
Refresh();
}
}
Comentários
O ModuleServiceProxy construtor nunca é chamado diretamente. A ModuleServiceProxy classe derivada é criada chamando o Microsoft.Web.Management.Client.Connection.CreateProxy método ou Microsoft.Web.Management.Client.Win32.ModulePage.CreateProxy .