This documentation is archived and is not being maintained.

BasicDesignerLoader.IDesignerLoaderService.DependentLoadComplete Method

Signals that a dependent load has finished.

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

void IDesignerLoaderService.DependentLoadComplete(
	bool successful,
	ICollection errorCollection


Type: System.Boolean

true to load successfully; otherwise, false.

Type: System.Collections.ICollection

An ICollection containing errors that occurred during the load.


IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection)


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


The IDesignerLoaderHost has been disposed.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0