InstanceEncodingOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains options that specify whether the persistence provider should encode the instance state information using the GZip algorithm before saving the state information into the persistence store.
public enum class InstanceEncodingOption
public enum InstanceEncodingOption
type InstanceEncodingOption =
Public Enum InstanceEncodingOption
- Inheritance
Fields
Name | Value | Description |
---|---|---|
None | 0 | Specifies that instance data is not compressed. |
GZip | 1 | Specifies that instance data is compressed using the GZip algorithm. |
Remarks
.NET Framework version 4 ships with a SQL persistence provider as a constituent of the SQL Workflow Instance Store, which is a concrete implementation of the InstanceStore class and is used to persist state information in to the SQL Server database. When the instanceEncodingOption
attribute is set to GZip for the SqlWorkflowInstanceStore service behavior associated with a service, the SQL persistence provider uses the GZip algorithm to encode instance state information for the instance of the service before saving the state information into the SQL Server persistence database.