Share via


IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) 方法

定義

表示相依載入已完成。

public:
 void DependentLoadComplete(bool successful, System::Collections::ICollection ^ errorCollection);
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

備註

系統會呼叫這個方法,以發出相依載入作業已完成的訊號。 針對已透過呼叫 註冊的每個進程呼叫DependentLoadCompleteAddLoadDependency一次,此進程已經完成。

如果相依負載成功,呼叫端會將 successful 參數設定為 true ,並將空集合或 null 傳遞至 errorCollection 參數。 如果相依負載發生錯誤,呼叫端會將 successful 參數設定為 false ,並將指出失敗 errorCollection 原因的例外狀況集合傳遞給 參數。

適用於