SharedConnectionWorkflowCommitWorkBatchService 构造函数

定义

重载

SharedConnectionWorkflowCommitWorkBatchService(NameValueCollection)

public:
 SharedConnectionWorkflowCommitWorkBatchService(System::Collections::Specialized::NameValueCollection ^ parameters);
public SharedConnectionWorkflowCommitWorkBatchService(System.Collections.Specialized.NameValueCollection parameters);
new System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService : System.Collections.Specialized.NameValueCollection -> System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService
Public Sub New (parameters As NameValueCollection)

参数

parameters
NameValueCollection

NameValueCollection。 当工作流运行时引擎从应用程序配置文件加载服务时,将调用构造函数。 有效键为 EnableRetries. 如果数据库连接失败,则 SharedConnectionWorkflowCommitWorkBatchService 请求重试。

适用于

SharedConnectionWorkflowCommitWorkBatchService(String)

使用数据库连接字符串初始化 SharedConnectionWorkflowCommitWorkBatchService 类。

public:
 SharedConnectionWorkflowCommitWorkBatchService(System::String ^ connectionString);
public SharedConnectionWorkflowCommitWorkBatchService(string connectionString);
new System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService : string -> System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService
Public Sub New (connectionString As String)

参数

connectionString
String

数据库连接字符串。

适用于