Edit

Share via


IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) Method

Definition

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);
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)

Parameters

successful
Boolean

true if the load of the designer is successful; false if errors prevented the load from finishing.

errorCollection
ICollection

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 DependentLoadComplete once for every process that was registered by calling 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.

Applies to