IDesignerLoaderHost2 Interface
.NET Framework 4.5
Provides an interface that extends IDesignerLoaderHost to specify whether errors are tolerated while loading a design document.
Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
The IDesignerLoaderHost2 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CanReloadWithErrors | Gets or sets a value indicating whether it is possible to reload with errors. |
![]() | Container | Gets the container for this designer host. (Inherited from IDesignerHost.) |
![]() | IgnoreErrorsDuringReload | Gets or sets a value indicating whether errors should be ignored when Reload is called. |
![]() | InTransaction | Gets a value indicating whether the designer host is currently in a transaction. (Inherited from IDesignerHost.) |
![]() | Loading | Gets a value indicating whether the designer host is currently loading the document. (Inherited from IDesignerHost.) |
![]() | RootComponent | Gets the instance of the base class used as the root component for the current design. (Inherited from IDesignerHost.) |
![]() | RootComponentClassName | Gets the fully qualified name of the class being designed. (Inherited from IDesignerHost.) |
![]() | TransactionDescription | Gets the description of the current transaction. (Inherited from IDesignerHost.) |
| Name | Description | |
|---|---|---|
![]() | Activate | Activates the designer that this host is hosting. (Inherited from IDesignerHost.) |
![]() | AddService(Type, ServiceCreatorCallback) | Adds the specified service to the service container. (Inherited from IServiceContainer.) |
![]() | AddService(Type, Object) | Adds the specified service to the service container. (Inherited from IServiceContainer.) |
![]() | AddService(Type, ServiceCreatorCallback, Boolean) | Adds the specified service to the service container, and optionally promotes the service to parent service containers. (Inherited from IServiceContainer.) |
![]() | AddService(Type, Object, Boolean) | Adds the specified service to the service container, and optionally promotes the service to any parent service containers. (Inherited from IServiceContainer.) |
![]() | CreateComponent(Type) | Creates a component of the specified type and adds it to the design document. (Inherited from IDesignerHost.) |
![]() | CreateComponent(Type, String) | Creates a component of the specified type and name, and adds it to the design document. (Inherited from IDesignerHost.) |
![]() | CreateTransaction() | Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality. (Inherited from IDesignerHost.) |
![]() | CreateTransaction(String) | Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality, using the specified transaction description. (Inherited from IDesignerHost.) |
![]() | DestroyComponent | Destroys the specified component and removes it from the designer container. (Inherited from IDesignerHost.) |
![]() | EndLoad | Ends the designer loading operation. (Inherited from IDesignerLoaderHost.) |
![]() | GetDesigner | Gets the designer instance that contains the specified component. (Inherited from IDesignerHost.) |
![]() | GetService | Gets the service object of the specified type. (Inherited from IServiceProvider.) |
![]() | GetType | Gets an instance of the specified, fully qualified type name. (Inherited from IDesignerHost.) |
![]() | Reload | Reloads the design document. (Inherited from IDesignerLoaderHost.) |
![]() | RemoveService(Type) | Removes the specified service type from the service container. (Inherited from IServiceContainer.) |
![]() | RemoveService(Type, Boolean) | Removes the specified service type from the service container, and optionally promotes the service to parent service containers. (Inherited from IServiceContainer.) |
| Name | Description | |
|---|---|---|
![]() | Activated | Occurs when this designer is activated. (Inherited from IDesignerHost.) |
![]() | Deactivated | Occurs when this designer is deactivated. (Inherited from IDesignerHost.) |
![]() | LoadComplete | Occurs when this designer completes loading its document. (Inherited from IDesignerHost.) |
![]() | TransactionClosed | Adds an event handler for the TransactionClosed event. (Inherited from IDesignerHost.) |
![]() | TransactionClosing | Adds an event handler for the TransactionClosing event. (Inherited from IDesignerHost.) |
![]() | TransactionOpened | Adds an event handler for the TransactionOpened event. (Inherited from IDesignerHost.) |
![]() | TransactionOpening | Adds an event handler for the TransactionOpening event. (Inherited from IDesignerHost.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
