This documentation is archived and is not being maintained.

LockingPersistenceProvider Class

The abstract base class from which all durable service persistence providers that implement locking are derived.

Namespace:  System.ServiceModel.Persistence
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public abstract class LockingPersistenceProvider : PersistenceProvider

In addition to persistence, the LockingPersistenceProvider class implements locking of service state data records. Methods that interact with persisted data (such as Load) have an optional parameter (lockInstance) that defines whether or not locks on the data in question will be released or maintained.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5