語言

WorkflowServiceHostFactory 類別

定義

警告

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

工廠提供在受管主機環境中的實例 WorkflowServiceHost ,主機實例會根據收到的訊息動態建立。

public ref class WorkflowServiceHostFactory : System::ServiceModel::Activation::ServiceHostFactoryBase
public class WorkflowServiceHostFactory : System.ServiceModel.Activation.ServiceHostFactoryBase
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public class WorkflowServiceHostFactory : System.ServiceModel.Activation.ServiceHostFactoryBase
type WorkflowServiceHostFactory = class
    inherit ServiceHostFactoryBase
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type WorkflowServiceHostFactory = class
    inherit ServiceHostFactoryBase
Public Class WorkflowServiceHostFactory
Inherits ServiceHostFactoryBase
繼承
WorkflowServiceHostFactory
屬性

備註

支援動態啟用的託管主機環境包括 Internet Information Services(IIS)與 Windows Process Activation Service(WAS)。

如果你實作了 的 WorkflowServiceHost自訂導數,也考慮實作一個由該 WorkflowServiceHostFactory 類別衍生的工廠。

如果你已經實作了 的 ServiceHostBase 自訂衍生,那就考慮實作一個直接從你的工廠衍生出來 ServiceHostFactoryBase 的工廠。

建構函式

名稱 Description
WorkflowServiceHostFactory()
已淘汰.

初始化 WorkflowServiceHostFactory 類別的新執行個體。

方法

名稱 Description
CreateServiceHost(String, Uri[])
已淘汰.

從包含工作流程標記檔案檔檔名或工作流程服務類型名稱及指定服務基底位址的字串中建立 a WorkflowServiceHost 。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於