IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) メソッド

定義

依存する負荷が終了したことを通知します。

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

パラメーター

successful
Boolean

true デザイナーの読み込みが成功した場合。 false エラーが原因で負荷が終了したかどうか。

errorCollection
ICollection

読み込み中に発生したエラーのコレクション (存在する場合)。 エラーが発生しなかった場合は、空のコレクションまたは nullを渡します。

注釈

このメソッドは、依存読み込み操作が完了したことを通知するために呼び出されます。 既に完了しているAddLoadDependencyを呼び出して登録されたすべてのプロセスに対して、DependentLoadCompleteを 1 回呼び出します。

依存読み込みが成功した場合、呼び出し元は successful パラメーターを true に設定し、空のコレクションまたは nullerrorCollection パラメーターに渡します。 依存ロードでエラーが発生した場合、呼び出し元は successful パラメーターを false に設定し、エラーの理由または理由を示す例外のコレクションを errorCollection パラメーターに渡します。

適用対象