IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) Método

Definição

Assinala que um carregamento dependente foi concluído.Signals that a dependent load has finished.

public:
 void DependentLoadComplete(bool successful, System::Collections::ICollection ^ errorCollection);
public void DependentLoadComplete (bool successful, System.Collections.ICollection errorCollection);
abstract member DependentLoadComplete : bool * System.Collections.ICollection -> unit
Public Sub DependentLoadComplete (successful As Boolean, errorCollection As ICollection)

Parâmetros

successful
Boolean

true se a carga do designer for bem-sucedida; false se erros tiverem impedido a conclusão do carregamento.true if the load of the designer is successful; false if errors prevented the load from finishing.

errorCollection
ICollection

Uma coleção de erros que ocorreram durante o carregamento, se houver.A collection of errors that occurred during the load, if any. Se não tiverem ocorrido erros, passe uma coleção vazia ou null.If no errors occurred, pass either an empty collection or null.

Comentários

Esse método é chamado para sinalizar que uma operação de carregamento dependente foi concluída.This method is called to signal that a dependent loading operation has completed. Chame DependentLoadComplete uma vez para cada processo registrado chamando AddLoadDependency , que já foi concluído.Call DependentLoadComplete once for every process that was registered by calling AddLoadDependency, which has already completed.

Se o carregamento dependente for bem-sucedido, o chamador definirá o successful parâmetro como true e passará uma coleção vazia ou null para o errorCollection parâmetro.If the dependent load succeeds, the caller sets the successful parameter to true and passes either an empty collection or null to the errorCollection parameter. Se o carregamento dependente encontrar erros, o chamador definirá o successful parâmetro como false e passará uma coleção de exceções que indicam o motivo ou os motivos da falha para o errorCollection parâmetro.If the dependent load encounters errors, the caller sets the successful parameter to false and passes a collection of exceptions that indicate the reason or reasons for failure to the errorCollection parameter.

Aplica-se a