WorkflowLoaderService 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

从中派生工作流加载程序服务的抽象基类。

public ref class WorkflowLoaderService abstract : System::Workflow::Runtime::Hosting::WorkflowRuntimeService
public abstract class WorkflowLoaderService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowLoaderService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
type WorkflowLoaderService = class
    inherit WorkflowRuntimeService
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowLoaderService = class
    inherit WorkflowRuntimeService
Public MustInherit Class WorkflowLoaderService
Inherits WorkflowRuntimeService
继承
WorkflowLoaderService
派生
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

可以从此类派生,以创建自定义版本的工作流加载程序。

工作流加载程序为开发人员提供了一种机制,用于生成工作流定义,反过来,来自其他 XML 格式的实例不是可扩展应用程序标记语言(XAML)。 用户负责分析其唯一的 XML 格式、生成活动树,并将活动树的根提供给工作流运行时以供执行。

构造函数

名称 说明
WorkflowLoaderService()
已过时.

在派生类中实现时,初始化类的新实例 WorkflowLoaderService

属性

名称 说明
Runtime
已过时.

获取 WorkflowRuntime 此服务。

(继承自 WorkflowRuntimeService)
State
已过时.

获取 . 的状态 WorkflowRuntimeService

(继承自 WorkflowRuntimeService)

方法

名称 说明
CreateInstance(Type)
已过时.

使用指定的工作流创建新的工作流 Type实例。

CreateInstance(XmlReader, XmlReader)
已过时.

使用指定的 XmlReader工作流实例创建工作流实例。

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnStarted()
已过时.

在派生类中重写时,表示在工作流运行时引擎引发 Started 事件时将调用的方法。

(继承自 WorkflowRuntimeService)
OnStopped()
已过时.

在派生类中重写时,表示在工作流运行时引擎引发 Stopped 事件时将调用的方法。

(继承自 WorkflowRuntimeService)
RaiseServicesExceptionNotHandledEvent(Exception, Guid)
已过时.

引发 ServicesExceptionNotHandled 事件。

(继承自 WorkflowRuntimeService)
Start()
已过时.

在派生类中重写时,启动服务并将更改 StateStarting

(继承自 WorkflowRuntimeService)
Stop()
已过时.

在派生类中重写时,停止服务并将更改 StateStopping

(继承自 WorkflowRuntimeService)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于