BasicDesignerLoader.OnEndLoad(Boolean, ICollection) 메서드

정의

로드가 완료되었음을 디자이너 로더에 알립니다.

protected:
 virtual void OnEndLoad(bool successful, System::Collections::ICollection ^ errors);
protected virtual void OnEndLoad (bool successful, System.Collections.ICollection errors);
protected virtual void OnEndLoad (bool successful, System.Collections.ICollection? errors);
abstract member OnEndLoad : bool * System.Collections.ICollection -> unit
override this.OnEndLoad : bool * System.Collections.ICollection -> unit
Protected Overridable Sub OnEndLoad (successful As Boolean, errors As ICollection)

매개 변수

successful
Boolean

로드가 성공적으로 완료되었으면 true이고, 그렇지 않으면 false입니다.

errors
ICollection

오류로 보고된 개체(대개, 예외)가 들어 있는 ICollection입니다.

예외

IDesignerLoaderHost가 초기화되지 않은 경우

설명

OnEndLoad 로드 완료 되 면 메서드가 호출 됩니다. 항상 라고를 로드 하는 동안 예외가 발생 하는 경우에 합니다. 변수의 successful 로 설정 됩니다 true 로드가 성공 하는 경우 또는 false 오류가 발생 한 경우. errors 컬렉션 오류로 보고 된 개체에 포함 됩니다. 일반적으로 이러한 개체는 예외입니다.

구현 하는 경우 IDesignerLoaderService 호출 종속 로드가 지원을 제공 해야 합니다 OnEndLoad 메서드를 마지막으로 호출한 후의 IDesignerLoaderService.DependentLoadComplete 메서드. 기본적으로 BasicDesignerLoader 구현 IDesignerLoaderService 하 고이를 수행 합니다. 하는 경우 IDesignerLoaderService 사용할 수 없는 경우 BeginLoad 가 호출 BeginLoad 직접 호출 OnEndLoad 호출한 후 PerformLoad합니다.

모든 종속 로드가 완료 되 면 디자이너 로더 서비스에서이 메서드를 호출 해야 합니다. 에 의해 시작 된는 로드 프로세스를 중지 하는이 BeginLoad 메서드. 사용자 고유의 로더 서비스를 제공 하는 경우 또는 로더 서비스를 제공 하지 않으려는 경우이 메서드를 호출 하는 것에 대 한 담당 합니다. 합니다 BeginLoad 메서드를 자동으로 호출 하거나 직접 호출 하 여이 IDesignerLoaderService.DependentLoadComplete 메서드 경우 IDesignerLoaderService 를 사용할 수 또는 직접 없는 경우.

적용 대상