WorkflowRuntimeServiceElementCollection.Add 方法

定义

public:
 void Add(System::Workflow::Runtime::Configuration::WorkflowRuntimeServiceElement ^ serviceSettings);
public void Add (System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement serviceSettings);
member this.Add : System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement -> unit
Public Sub Add (serviceSettings As WorkflowRuntimeServiceElement)

参数

serviceSettings
WorkflowRuntimeServiceElement

一个 WorkflowRuntimeServiceElement,表示要由工作流运行时引擎初始化和激活的服务。

例外

serviceSettings 为空引用(在 Visual Basic 中为 Nothing

适用于