IDesignerLoaderHost.EndLoad Method (String, Boolean, ICollection)

 

Ends the designer loading operation.

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

void EndLoad(
	string baseClassName,
	bool successful,
	ICollection errorCollection
)

Parameters

baseClassName
Type: System.String

The fully qualified name of the base class of the document that this designer is designing.

successful
Type: System.Boolean

true if the designer is successfully loaded; otherwise, false.

errorCollection
Type: System.Collections.ICollection

A collection containing the errors encountered during load, if any. If no errors were encountered, pass either an empty collection or null.

The DesignerLoader that loads the design document calls this method to indicate that the load terminated.

If errors are encountered during loading, they must be passed in the errorCollection parameter as a collection of exceptions. If they are not exceptions, the designer loader host can call ToString on them and pass them as a collection. If the load is successful, then the errorCollection parameter must be either null or an empty collection.

.NET Framework
Available since 1.1
Return to top
Show: