WorkflowRuntimeBehavior 類別

定義

警告

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

定義與 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
已淘汰.

取得與 WorkflowRuntime 執行個體相關聯的 WorkflowServiceHost

方法

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 物件。

適用於