依存読み込みプロセスの 1 つが終了したことを示します。
名前空間: System.ComponentModel.Design.Serialization
アセンブリ: System (system.dll 内)
構文
'宣言
Sub DependentLoadComplete ( _
successful As Boolean, _
errorCollection As ICollection _
)
'使用
Dim instance As IDesignerLoaderService
Dim successful As Boolean
Dim errorCollection As ICollection
instance.DependentLoadComplete(successful, errorCollection)
void DependentLoadComplete (
bool successful,
ICollection errorCollection
)
void DependentLoadComplete (
bool successful,
ICollection^ errorCollection
)
void DependentLoadComplete (
boolean successful,
ICollection errorCollection
)
function DependentLoadComplete (
successful : boolean,
errorCollection : ICollection
)
パラメータ
- successful
デザイナの読み込みが正常に終了した場合は true。エラーが原因で読み込みを完了できなかった場合は false。
- errorCollection
読み込み中に発生したエラーがある場合は、そのエラーのコレクション。エラーが発生しなかった場合は、空のコレクションまたは null 参照 (Visual Basic では Nothing) を渡します。
解説
このメソッドは、依存読み込み処理が完了したことを通知するために呼び出されます。AddLoadDependency を呼び出して登録を既に完了したすべてのプロセスに対して 1 回ずつ DependentLoadComplete を呼び出します。
依存読み込みが正常に終了した場合、呼び出し元は successful パラメータを true に設定し、空のコレクションまたは null 参照 (Visual Basic では Nothing) を errorCollection パラメータに渡します。依存読み込みがエラーを検出した場合、呼び出し元は successful パラメータを false に設定し、エラーの理由を示す例外のコレクションを errorCollection パラメータに渡します。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
IDesignerLoaderService インターフェイス
IDesignerLoaderService メンバ
System.ComponentModel.Design.Serialization 名前空間