Export (0) Print
Expand All

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)

type InstanceEncodingOption

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

.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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft