IPersistentStateFeature Interface
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.
Provides access to a key/value collection that can be used to persist state between connections and requests. Whether a transport supports persisting state depends on the implementation. The transport must support pooling and reusing connection instances for state to be persisted.
Because values added to persistent state can live in memory until a connection is no longer pooled, use caution when adding items to this collection to avoid excessive memory use.
public interface IPersistentStateFeature
type IPersistentStateFeature = interface
Public Interface IPersistentStateFeature
Properties
State |
Gets a key/value collection that can be used to persist state between connections and requests. |