Bewerken

Delen via


BasicDesignerLoader.IDesignerLoaderService.DependentLoadComplete Method

Definition

Signals that a dependent load has finished.

 virtual void System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete(bool successful, System::Collections::ICollection ^ errorCollection) = System::ComponentModel::Design::Serialization::IDesignerLoaderService::DependentLoadComplete;
void IDesignerLoaderService.DependentLoadComplete (bool successful, System.Collections.ICollection errorCollection);
void IDesignerLoaderService.DependentLoadComplete (bool successful, System.Collections.ICollection? errorCollection);
abstract member System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete : bool * System.Collections.ICollection -> unit
override this.System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete : bool * System.Collections.ICollection -> unit
Sub DependentLoadComplete (successful As Boolean, errorCollection As ICollection) Implements IDesignerLoaderService.DependentLoadComplete

Parameters

successful
Boolean

true to load successfully; otherwise, false.

errorCollection
ICollection

An ICollection containing errors that occurred during the load.

Implements

Exceptions

No load dependencies have been added by IDesignerLoaderService.AddLoadDependency(), or the IDesignerLoaderHost has not been initialized.

Remarks

The IDesignerLoaderService.DependentLoadComplete method is called to signal that a dependent loading operation has completed. Call the DependentLoadComplete method once for every process that was registered by calling the AddLoadDependency method, which has already completed.

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. 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.

Applies to