InstanceEncodingOption InstanceEncodingOption InstanceEncodingOption InstanceEncodingOption Enum

定义

包含一些选项,这些选项指定持久性提供程序是否应在将实例状态信息保存到持久性存储之前使用 GZip 算法对该状态信息进行编码。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
继承
InstanceEncodingOptionInstanceEncodingOptionInstanceEncodingOptionInstanceEncodingOption

字段

GZip GZip GZip GZip 1

指定使用 GZip 算法对实例数据进行压缩。Specifies that instance data is compressed using the GZip algorithm.

None None None None 0

指定不对实例数据进行压缩。Specifies that instance data is not compressed.

注解

.NET Framework 版本 4.NET Framework version 4 附带了 SQL 持久性提供程序作为 SQL 工作流实例存储的构成,它是 InstanceStore 类的具体实现,并用于将状态信息保留到 SQL Server 数据库中。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. instanceEncodingOption属性设置为 GZipSqlWorkflowInstanceStore与服务关联的服务行为,SQL 持久性提供程序使用 GZip 算法之前保存状态的服务实例的实例状态信息进行编码到 SQL Server 持久性数据库的信息。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.

适用于