ArchiveListTKey, TValueAcquireEditLock Method

Returns an IDisposable class that can be used to edit the contents of this list. WARNING: Make changes quickly and dispose the returned class. All calls to this class are blocked while editing this class.

Definition

Namespace: SnapDB.Snap.Services
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public ArchiveListEditor<TKey, TValue> AcquireEditLock()

Return Value

ArchiveListEditorTKey, TValue
An ArchiveListEditorTKey, TValue instance that allows editing the archive list.

Remarks

Use this method to obtain a lock for making changes to the archive list. Ensure to properly dispose of the editor when done with the modifications to release the lock.

See Also