InstanceEncodingOption Enumeration

InstanceEncodingOption Enumeration

.NET Framework (current version)
 

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
GZip

Specifies that instance data is compressed using the GZip algorithm.

None

Specifies 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 T:System.Runtime.Persistence.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
Available since 4.0
Return to top
Show:
© 2016 Microsoft