System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete Method

Signals that a dependent load has finished.

Syntax

public void DependentLoadComplete (bool successful, ICollection errorCollection)

Parameters

successful
true if the load of the designer is successful; false if errors prevented the load from finishing.
errorCollection
A collection of errors that occurred during the load, if any. If no errors occurred, pass either an empty collection or null.

Remarks

This method is called to signal that a dependent loading operation has completed. Call IDesignerLoaderService.DependentLoadComplete(bool, ICollection) once for every process that was registered by calling IDesignerLoaderService.AddLoadDependency, 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.

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0