WorkflowDesignerLoader Class

 
Note: This API is now obsolete.

Provides common designer loader functionality that can be used to implement custom workflow designer loaders.

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


[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class WorkflowDesignerLoader : BasicDesignerLoader

NameDescription
System_CAPS_protmethodWorkflowDesignerLoader()

When implemented in a derived class, initializes a new instance of the WorkflowDesignerLoader class.

NameDescription
System_CAPS_pubpropertyFileName

When overridden in a derived class, gets the file name of the designer to load.

System_CAPS_pubpropertyInDebugMode

Gets a value that indicates whether the workflow should be loaded in debug mode.

System_CAPS_protpropertyLoaderHost

Gets the loader host.(Inherited from BasicDesignerLoader.)

System_CAPS_pubpropertyLoading

Gets a value indicating whether the designer loader is loading the design surface.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyModified

Gets or sets a value indicating whether the designer has been modified.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyPropertyProvider

Gets or sets the property provider for the serialization manager being used by the loader.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyReloadPending

Gets a value indicating whether a reload has been queued.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyTargetFrameworkTypeDescriptionProvider

Gets the TypeDescriptor metadata of the target .NET Framework.

NameDescription
System_CAPS_pubmethodAddActivityToDesigner(Activity)

Adds an activity to the designer host after it has been added to the parent activities collection.

System_CAPS_pubmethodBeginLoad(IDesignerLoaderHost)

Starts the loading process.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodDispose()

Releases all resources used by the WorkflowDesignerLoader. (Overrides BasicDesignerLoader.Dispose().)

System_CAPS_protmethodEnableComponentNotification(Boolean)

Enables or disables component notification with the DesignerLoader.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Writes pending changes to the location that the designer was loaded from.(Overrides BasicDesignerLoader.Flush().)

System_CAPS_pubmethodForceReload()

When overridden in a derived class, causes WorkflowDesignerLoader to reload the designer.

System_CAPS_pubmethodGetFileReader(String)

When overridden in a derived class, retrieves an object that WorkflowDesignerLoader uses to read from the specified file.

System_CAPS_pubmethodGetFileWriter(String)

When overridden in a derived class, gets an object that the WorkflowDesignerLoader uses to write to the specified file.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets the requested service.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodInitialize()

Initializes the WorkflowDesignerLoader with any services required by the designer loader host. (Overrides BasicDesignerLoader.Initialize().)

System_CAPS_protmethodIsReloadNeeded()

Indicates whether the designer should be reloaded.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodLoadDesignerLayout(XmlReader, IList)

Applies the serialized layout to the root designer in the current designer host.

System_CAPS_protmethodLoadDesignerLayoutFromResource(Type, String, IList)

Retrieves the specified resource and calls the LoadDesignerLayout method that applies the serialized layout to the root designer in the current designer host.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBeginLoad()

Notifies the designer loader that loading is about to begin.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodOnBeginUnload()

Notifies the designer loader that unloading is about to begin.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodOnEndLoad(Boolean, ICollection)

Called when loading of the designer is completed.(Overrides BasicDesignerLoader.OnEndLoad(Boolean, ICollection).)

System_CAPS_protmethodOnModifying()

Notifies the designer loader that the state of the document is about to be modified.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodPerformFlush(IDesignerSerializationManager)

Writes cached changes to the location that the designer was loaded from.(Overrides BasicDesignerLoader.PerformFlush(IDesignerSerializationManager).)

System_CAPS_protmethodPerformLoad(IDesignerSerializationManager)

Loads the designer from a design document.(Overrides BasicDesignerLoader.PerformLoad(IDesignerSerializationManager).)

System_CAPS_protmethodReload(BasicDesignerLoader.ReloadOptions)

Queues a reload of the designer.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodRemoveActivityFromDesigner(Activity)

Removes an activity from the designer host after it has been added to the parent activities collection.

System_CAPS_protmethodReportFlushErrors(ICollection)

Reports errors that occurred while flushing changes.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodSaveDesignerLayout(XmlWriter, ActivityDesigner, IList)

Serializes the designer layout.

System_CAPS_protmethodSetBaseComponentClassName(String)

Sets the full class name of the base component.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.AddLoadDependency()

Registers an external component as part of the load process managed by IDesignerLoaderService.(Inherited from BasicDesignerLoader.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.DependentLoadComplete(Boolean, ICollection)

Signals that a dependent load has finished.(Inherited from BasicDesignerLoader.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.Reload()

Reloads the design document.(Inherited from BasicDesignerLoader.)

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Designer loader classes are used to load the designer and save any changes to the state of the designer when the user so instructs. The WorkflowDesignerLoader class can be implemented to support custom loading of a workflow designer and workflow designer components. A workflow designer loader is also responsible for writing changes to an open document back to the storage the loader used when loading the document after the Flush method is called.

Notes to Inheritors:

When you inherit from WorkflowDesignerLoader, you must override the following members: FileName, ForceReload, GetFileReader and GetFileWriter.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: