Delen via


ConcurrencyDetectorCriticalSectionDisposer Struct

Definition

A IDisposable returned by an IConcurrencyDetector, which will exit the ongoing critical section when disposed.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ConcurrencyDetectorCriticalSectionDisposer : IDisposable
[<System.Runtime.CompilerServices.IsReadOnly>]
type ConcurrencyDetectorCriticalSectionDisposer = struct
    interface IDisposable
Public Structure ConcurrencyDetectorCriticalSectionDisposer
Implements IDisposable
Inheritance
ConcurrencyDetectorCriticalSectionDisposer
Attributes
Implements

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

ConcurrencyDetectorCriticalSectionDisposer(IConcurrencyDetector)

Constructs a new ConcurrencyDetectorCriticalSectionDisposer.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to