WorkflowRuntime 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
表示工作流运行时引擎为工作流提供的可配置执行环境。
public ref class WorkflowRuntime : IDisposable, IServiceProvider
public class WorkflowRuntime : IDisposable, IServiceProvider
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class WorkflowRuntime : IDisposable, IServiceProvider
type WorkflowRuntime = class
interface IServiceProvider
interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type WorkflowRuntime = class
interface IServiceProvider
interface IDisposable
Public Class WorkflowRuntime
Implements IDisposable, IServiceProvider
- 继承
-
WorkflowRuntime
- 属性
- 实现
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
WorkflowRuntime 公开主机应用程序和服务配置和控制工作流运行时引擎所需的功能,并通知工作流运行时引擎及其任何工作流实例的更改。
构造函数
| 名称 | 说明 |
|---|---|
| WorkflowRuntime() |
已过时.
初始化 WorkflowRuntime 类的新实例。 |
| WorkflowRuntime(String) |
已过时.
使用应用程序配置文件的指定节初始化类的新实例 WorkflowRuntime 。 |
| WorkflowRuntime(WorkflowRuntimeSection) |
已过时.
使用指定WorkflowRuntimeSection设置初始化类的新实例WorkflowRuntime。 |
属性
| 名称 | 说明 |
|---|---|
| IsStarted |
已过时.
获取一个值,该值指示是否已启动工作流运行时引擎。 |
| Name |
已过时.
获取或设置与 |
方法
活动
| 名称 | 说明 |
|---|---|
| ServicesExceptionNotHandled |
已过时.
当派生自类调用RaiseServicesExceptionNotHandledEvent(Exception, Guid)的服务WorkflowRuntimeService时发生。 |
| Started |
已过时.
在启动工作流运行时引擎时发生。 |
| Stopped |
已过时.
在工作流运行时引擎停止时发生。 |
| WorkflowAborted |
已过时.
在中止工作流实例时发生。 |
| WorkflowCompleted |
已过时.
工作流实例完成时发生。 |
| WorkflowCreated |
已过时.
创建工作流实例时发生。 |
| WorkflowIdled |
已过时.
当工作流实例进入空闲状态时发生。 |
| WorkflowLoaded |
已过时.
当工作流实例加载到内存中时发生。 |
| WorkflowPersisted |
已过时.
在工作流实例的状态持久化时发生。 |
| WorkflowResumed |
已过时.
在挂起后恢复工作流实例的执行时发生。 |
| WorkflowStarted |
已过时.
在启动工作流实例时发生。 |
| WorkflowSuspended |
已过时.
挂起工作流实例时发生。 |
| WorkflowTerminated |
已过时.
在工作流实例终止时发生。 |
| WorkflowUnloaded |
已过时.
从内存中卸载工作流实例时发生。 |
适用于
线程安全性
此类型是线程安全的。