This documentation is archived and is not being maintained.

InstanceEncodingOption Enumeration

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.

Namespace:  System.Activities.DurableInstancing
Assembly:  System.Activities.DurableInstancing (in System.Activities.DurableInstancing.dll)

public enum class InstanceEncodingOption

Member nameDescription
NoneSpecifies that instance data is not compressed.
GZipSpecifies that instance data is compressed using the GZip algorithm.

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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

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: