Export (0) Print
Expand All

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

The WorkflowDesignerLoader type exposes the following members.

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

Public propertyFileNameWhen overridden in a derived class, gets the file name of the designer to load.
Public propertyInDebugModeGets a value that indicates whether the workflow should be loaded in debug mode.
Protected propertyLoaderHostGets the loader host. (Inherited from BasicDesignerLoader.)
Public propertyLoadingGets a value indicating whether the designer loader is loading the design surface. (Inherited from BasicDesignerLoader.)
Protected propertyModifiedGets or sets a value indicating whether the designer has been modified. (Inherited from BasicDesignerLoader.)
Protected propertyPropertyProviderGets or sets the property provider for the serialization manager being used by the loader. (Inherited from BasicDesignerLoader.)
Protected propertyReloadPendingGets a value indicating whether a reload has been queued. (Inherited from BasicDesignerLoader.)
Protected propertyTargetFrameworkTypeDescriptionProviderGets the TypeDescriptor metadata of the target .NET Framework.

Public methodAddActivityToDesignerAdds an activity to the designer host after it has been added to the parent activities collection.
Public methodBeginLoadStarts the loading process. (Inherited from BasicDesignerLoader.)
Public methodDisposeReleases all resources used by the WorkflowDesignerLoader. (Overrides BasicDesignerLoader.Dispose().)
Protected methodEnableComponentNotificationEnables or disables component notification with the DesignerLoader. (Inherited from BasicDesignerLoader.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFlushWrites pending changes to the location that the designer was loaded from. (Overrides BasicDesignerLoader.Flush().)
Public methodForceReloadWhen overridden in a derived class, causes WorkflowDesignerLoader to reload the designer.
Public methodGetFileReaderWhen overridden in a derived class, retrieves an object that WorkflowDesignerLoader uses to read from the specified file.
Public methodGetFileWriterWhen overridden in a derived class, gets an object that the WorkflowDesignerLoader uses to write to the specified file.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetServiceGets the requested service. (Inherited from BasicDesignerLoader.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeInitializes the WorkflowDesignerLoader with any services required by the designer loader host. (Overrides BasicDesignerLoader.Initialize().)
Protected methodIsReloadNeededIndicates whether the designer should be reloaded. (Inherited from BasicDesignerLoader.)
Protected methodLoadDesignerLayoutApplies the serialized layout to the root designer in the current designer host.
Protected methodLoadDesignerLayoutFromResourceRetrieves the specified resource and calls the LoadDesignerLayout method that applies the serialized layout to the root designer in the current designer host.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnBeginLoadNotifies the designer loader that loading is about to begin. (Inherited from BasicDesignerLoader.)
Protected methodOnBeginUnloadNotifies the designer loader that unloading is about to begin. (Inherited from BasicDesignerLoader.)
Protected methodOnEndLoadCalled when loading of the designer is completed. (Overrides BasicDesignerLoader.OnEndLoad(Boolean, ICollection).)
Protected methodOnModifyingNotifies the designer loader that the state of the document is about to be modified. (Inherited from BasicDesignerLoader.)
Protected methodPerformFlushWrites cached changes to the location that the designer was loaded from. (Overrides BasicDesignerLoader.PerformFlush(IDesignerSerializationManager).)
Protected methodPerformLoadLoads the designer from a design document. (Overrides BasicDesignerLoader.PerformLoad(IDesignerSerializationManager).)
Protected methodReloadQueues a reload of the designer. (Inherited from BasicDesignerLoader.)
Public methodRemoveActivityFromDesignerRemoves an activity from the designer host after it has been added to the parent activities collection.
Protected methodReportFlushErrorsReports errors that occurred while flushing changes. (Inherited from BasicDesignerLoader.)
Protected methodSaveDesignerLayoutSerializes the designer layout.
Protected methodSetBaseComponentClassNameSets the full class name of the base component. (Inherited from BasicDesignerLoader.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Explicit interface implemetationPrivate methodIDesignerLoaderService.AddLoadDependencyRegisters an external component as part of the load process managed by IDesignerLoaderService. (Inherited from BasicDesignerLoader.)
Explicit interface implemetationPrivate methodIDesignerLoaderService.DependentLoadCompleteSignals that a dependent load has finished. (Inherited from BasicDesignerLoader.)
Explicit interface implemetationPrivate methodIDesignerLoaderService.ReloadReloads the design document. (Inherited from BasicDesignerLoader.)


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

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, 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.

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