Rediger

Del via


IDesignerLoaderHost.EndLoad(String, Boolean, ICollection) Method

Definition

Ends the designer loading operation.

public:
 void EndLoad(System::String ^ baseClassName, bool successful, System::Collections::ICollection ^ errorCollection);
public void EndLoad (string baseClassName, bool successful, System.Collections.ICollection errorCollection);
public void EndLoad (string baseClassName, bool successful, System.Collections.ICollection? errorCollection);
abstract member EndLoad : string * bool * System.Collections.ICollection -> unit
Public Sub EndLoad (baseClassName As String, successful As Boolean, errorCollection As ICollection)

Parameters

baseClassName
String

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

successful
Boolean

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

errorCollection
ICollection

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

Remarks

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.

Applies to

See also