WorkflowRuntimeSection.Services 属性

定义

获取在初始化工作流运行时引擎时将要添加到其中的服务的集合。Gets the collection of services that are added to the workflow run-time engine when it is initialized.

public:
 property System::Workflow::Runtime::Configuration::WorkflowRuntimeServiceElementCollection ^ Services { System::Workflow::Runtime::Configuration::WorkflowRuntimeServiceElementCollection ^ get(); };
[System.Configuration.ConfigurationProperty("Services", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElementCollection Services { get; }
[<System.Configuration.ConfigurationProperty("Services", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.Services : System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElementCollection
Public ReadOnly Property Services As WorkflowRuntimeServiceElementCollection

属性值

WorkflowRuntimeServiceElementCollection

要添加到工作流运行时引擎的服务。The services to be added to the workflow run-time engine.

属性

注解

WorkflowRuntimeServiceElementCollection 中指定的服务将由工作流运行时引擎初始化,并在调用适当的 WorkflowRuntime 构造函数时添加到工作流运行时引擎的服务中。The services specified in the WorkflowRuntimeServiceElementCollection are initialized by the workflow run-time engine and added to its services when the appropriate WorkflowRuntime constructor is called. 因此,在 WorkflowRuntimeServiceElementCollection 中指定的服务必须遵循关于其构造函数的签名的特定规则。Therefore the services specified in the WorkflowRuntimeServiceElementCollection must follow certain rules about the signatures of their constructors. 有关详细信息,请参阅 WorkflowRuntimeServiceElementFor more information, see WorkflowRuntimeServiceElement.

适用于