System.ComponentModel.Design.Serialization.IDesignerLoaderHost.EndLoad Method

Ends the designer loading operation.

Syntax

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

Parameters

baseClassName
The fully qualified name of the base class of the document that this designer is designing.
successful
true if the designer is successfully loaded; otherwise, false.
errorCollection
A collection containing the errors encountered during load, if any. If no errors were encountered, pass either an empty collection or null.

Remarks

The System.ComponentModel.Design.Serialization.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 object.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.

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