WorkflowRuntimeBehavior 类

定义

注意

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

定义与 a WorkflowRuntime. 关联的行为WorkflowServiceHost

public ref class WorkflowRuntimeBehavior : System::ServiceModel::Description::IServiceBehavior
public class WorkflowRuntimeBehavior : System.ServiceModel.Description.IServiceBehavior
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public class WorkflowRuntimeBehavior : System.ServiceModel.Description.IServiceBehavior
type WorkflowRuntimeBehavior = class
    interface IServiceBehavior
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type WorkflowRuntimeBehavior = class
    interface IServiceBehavior
Public Class WorkflowRuntimeBehavior
Implements IServiceBehavior
继承
WorkflowRuntimeBehavior
属性
实现

注解

用于 WorkflowRuntimeBehavior 访问 WorkflowRuntime 工作流服务中的对象。 WorkflowRuntime创建对象时WorkflowServiceHost默认添加。

构造函数

名称 说明
WorkflowRuntimeBehavior()
已过时.

初始化 WorkflowRuntimeBehavior 类的新实例。

属性

名称 说明
CachedInstanceExpiration
已过时.

获取或设置一个值,该值指示工作流实例在从内存中强行删除之前在空闲状态中保留多长时间。

WorkflowRuntime
已过时.

获取与WorkflowRuntimeWorkflowServiceHost实例关联的项。

方法

名称 说明
AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)
已过时.

未在 . 中 WorkflowRuntimeBehavior实现

ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)
已过时.

配置工作流服务以支持工作流运行时行为。

Equals(Object)
已过时.

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

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

用作默认哈希函数。

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

获取当前实例的 Type

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

创建当前 Object的浅表副本。

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

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

(继承自 Object)
Validate(ServiceDescription, ServiceHostBase)
已过时.

验证用于工作流服务的计划服务是否已添加到 WorkflowRuntime 对象,并且该 WorkflowRuntime 对象在调用 Open之前尚未启动。

适用于