SqlWorkflowPersistenceService 생성자

정의

SqlWorkflowPersistenceService 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
SqlWorkflowPersistenceService(NameValueCollection)

지정된 매개 변수를 사용하여 클래스의 SqlWorkflowPersistenceService 새 인스턴스를 초기화합니다.

SqlWorkflowPersistenceService(String)

데이터베이스 연결 문자열 사용하여 SqlWorkflowPersistenceService 클래스의 새 인스턴스를 초기화합니다.

SqlWorkflowPersistenceService(String, Boolean, TimeSpan, TimeSpan)

데이터베이스 연결 문자열 및 기타 매개 변수를 사용하여 SqlWorkflowPersistenceService 클래스의 새 인스턴스를 초기화합니다.

SqlWorkflowPersistenceService(NameValueCollection)

지정된 매개 변수를 사용하여 클래스의 SqlWorkflowPersistenceService 새 인스턴스를 초기화합니다.

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

매개 변수

parameters
NameValueCollection

시작 매개 변수를 포함하는 A NameValueCollection 입니다.

예외

parameters 잘못된 데이터베이스 연결 문자열 포함합니다.

parameters null 참조입니다(Visual Basic Nothing).

설명

이 생성자는 워크플로 런타임 엔진이 애플리케이션 구성 파일에서 서비스를 로드할 때 호출됩니다. 매개 변수를 사용하여 프로그래밍 방식으로 호출할 NameValueCollection 수도 있습니다. 유효한 매개 변수는 ConnectionString, OwnershipTimeoutSecondsUnloadOnIdleEnableRetries. 매개 변수에 다른 키가 포함된 경우 throw ArgumentException 됩니다.

적용 대상

SqlWorkflowPersistenceService(String)

데이터베이스 연결 문자열 사용하여 SqlWorkflowPersistenceService 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

connectionString
String

유효한 데이터베이스 연결 문자열.

예외

connectionString null 참조입니다(Visual Basic Nothing).

적용 대상

SqlWorkflowPersistenceService(String, Boolean, TimeSpan, TimeSpan)

데이터베이스 연결 문자열 및 기타 매개 변수를 사용하여 SqlWorkflowPersistenceService 클래스의 새 인스턴스를 초기화합니다.

public:
 SqlWorkflowPersistenceService(System::String ^ connectionString, bool unloadOnIdle, TimeSpan instanceOwnershipDuration, TimeSpan loadingInterval);
public SqlWorkflowPersistenceService(string connectionString, bool unloadOnIdle, TimeSpan instanceOwnershipDuration, TimeSpan loadingInterval);
new System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService : string * bool * TimeSpan * TimeSpan -> System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService
Public Sub New (connectionString As String, unloadOnIdle As Boolean, instanceOwnershipDuration As TimeSpan, loadingInterval As TimeSpan)

매개 변수

connectionString
String

유효한 데이터베이스 연결 문자열.

unloadOnIdle
Boolean

true 워크플로가 유휴 상태일 때 워크플로를 언로드합니다.

instanceOwnershipDuration
TimeSpan

유휴 워크플로에서 잠금이 유지되는 시간입니다.

loadingInterval
TimeSpan

지속성 서비스가 만료된 타이머가 있는 워크플로에 대해 데이터베이스를 폴링하는 빈도입니다.

예외

connectionString null 참조입니다(Visual Basic Nothing).

설명

값을 제공하는 instanceOwnershipDuration이 생성자를 사용하면 잠금이 가능합니다. 잠금을 사용하도록 설정하지 않는 지속성 서비스를 만들려면 지정 instanceOwnershipDuration하지 않는 다른 생성자를 사용합니다.

적용 대상