IDesignerLoaderService::DependentLoadComplete Method (Boolean, ICollection^)

 

Signals that a dependent load has finished.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

void DependentLoadComplete(
	bool successful,
	ICollection^ errorCollection
)

Parameters

successful
Type: System::Boolean

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

errorCollection
Type: System.Collections::ICollection^

A collection of errors that occurred during the load, if any. If no errors occurred, pass either an empty collection or null.

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.

.NET Framework
Available since 1.1
Return to top
Show: