Não foi possível encontrar esta entrada. Mostrando resultados aproximados. Verifique a ortografia ou proponha a adição deste termo ao dicionário.
o método initialize
método de inicialização
When initialize is called, the plugin will start and it will call the initialize method on the dependency class we created earlier in this tutorial.
Quando initialize é chamado, o plugin irá iniciar e ele chamará o método initialize da classe de dependência que criamos no início deste tutorial.
For example, this issue may occur when you call the Initialize method and the Terminate method of the SQLDistribution object in code that resembles the following
Por exemplo, esse problema pode ocorrer quando você chamar o método Initialize e o método Terminate do objeto SQLDistribution no código semelhante ao seguinte
FIX: A memory leak occurs when you call the Initialize method and the Terminate method of the SQLDistribution object in a loop in an application that you develop by using Microsoft ActiveX replication controls in SQL Server 2005
CORRECÇÃO: Um vazamento de memória ocorre quando você chamar o método Initialize e o método Terminate do objeto SQLDistribution em um loop em um aplicativo que você desenvolve usando o Microsoft ActiveX de replicação no SQL Server 2005
It's interesting what is happening inside the initialize method.
O que está acontecendo dentro do método initialize é interessante.
However, here you can guarantee that a cast will succeed without either test, because you asked for the particular kind in the Initialize method.
No entanto, aqui você pode garantir que a conversão será bem sucedida sem nenhum teste, porque você pediu por um tipo particular no método de inicialização.
The initialize method is a special type of method, which will be executed when the new method of the class is called with parameters.
A Inicializar método é um tipo especial de método, que será executado quando o novo método da classe é chamado com parâmetros.
Initialize Method The main entry point for your diagnostic analyzer is the Initialize method.
Método de Inicialização O principal ponto de entrada para o seu analisador de diagnóstico é o método de inicialização.
Handling Other Register Methods You can dig into the Initialize method's context parameter to see the full set of Register methods you can call.
Você pode cavar até o parâmetro de contexto do método de inicialização para ver o conjunto completo de métodos de Registro que você pode chamar.
Recall from exploring in the Syntax Visualizer that the specific node kind you're looking for is InvocationExpression, so replace the Register call in the Initialize method with the following call
Lembre-se de explorar no Syntax Visualizer que o tipo de nó específico que você está procurando para ele é InvocationExpression, então substitua a chamada de Registro no método de inicialização com a chamada seguinte
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.