This documentation is archived and is not being maintained.
SqlWorkflowInstanceStoreBehavior Class
Visual Studio 2010
A service behavior that allows you to configure the SqlWorkflowInstanceStore feature, which supports persisting state information for workflow service instances into an SQL Server 2005 or SQL Server 2008 database.
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
The SqlWorkflowInstanceStoreBehavior type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SqlWorkflowInstanceStoreBehavior() | Initializes an instance of the SqlWorkflowInstanceStoreBehavior class. |
![]() | SqlWorkflowInstanceStoreBehavior(String) | Initializes an instance of the SqlWorkflowInstanceStoreBehavior class using the connection string passed as a parameter. |
| Name | Description | |
|---|---|---|
![]() | ConnectionString | Gets the connection string used to connect to persistence database. |
![]() | HostLockRenewalPeriod | Gets or sets the HostLockRenewalPeriod. This property specifies the interval within which a host must renew its lock on an instance before the lock expires. If the host does not renew the lock in the specified time period, the instance is unlocked and another host can obtain the lock on the instance. |
![]() | InstanceCompletionAction | Gets or sets the InstanceCompletionAction property. This property specifies whether the instance state information is kept in the persistence database after the instance is completed. |
![]() | InstanceEncodingOption | Gets or sets the InstanceEncodingOption property. This property specifies whether the instance state information is compressed using the GZip algorithm before the information is saved in the persistence store. |
![]() | InstanceLockedExceptionAction | Gets or sets the InstanceLockedExceptionAction property. This property specifies what action a service host should take when it receives an InstanceLockedException when the host tries to lock an instance because the instance is currently locked by another host. |
![]() | MaxConnectionRetries | |
![]() | RunnableInstancesDetectionPeriod | Gets or sets the RunnableInstancesDetectionPeriod property. Specifies the time period after which the SQL Workflow Instance Store runs a detection task to detect any runnable or activatable workflow instances in the persistence database after the previous detection cycle. |
| Name | Description | |
|---|---|---|
![]() | AddBindingParameters | An implementation of the AddBindingParameters method of the IServiceBehavior interface, which allows you to pass custom data to binding elements to support contract implementation. |
![]() | ApplyDispatchBehavior | An implementation of the ApplyDispatchBehavior method of the IServiceBehavior interface that allows you to change run-time property values or insert custom extension objects such as error handlers, message or parameter inspectors, security extensions, and other custom extension objects. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Promote | Promotes properties that can be used in queries. The promoted properties are the properties that you can use in queries to retrieve instances. These property can be of simple type (int32, string, bool and so on), which is represented by a variant or binary. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Validate | Inspects the service host and the service description to confirm that the service can run successfully. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
