Export (0) Print
Expand All

BasicDesignerLoader.BeginLoad Method

Starts the loading process.

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public override void BeginLoad(
	IDesignerLoaderHost host
)

Parameters

host
Type: System.ComponentModel.Design.Serialization.IDesignerLoaderHost

The designer loader host to load.

ExceptionCondition
ArgumentNullException

host is null.

InvalidOperationException

The designer is already loaded, or BeginLoad has been called with a different designer loader host.

ObjectDisposedException

host has been disposed.

This is an implementation of the abstract DesignerLoader.BeginLoad method. You do not need to override this method in your own class. The BeginLoad method performs the following actions:

If the designer loader service has not been removed from the service container, BeginLoad will call the IDesignerLoaderService.AddLoadDependency and IDesignerLoaderService.DependentLoadComplete methods instead of the OnBeginLoad and OnEndLoad methods. In this situation, it is the responsibility of the designer loader service to call OnBeginLoad and OnEndLoad.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft