AsyncReaderWriterLock.Releaser Struct
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.
A value whose disposal releases a held lock.
public: value class AsyncReaderWriterLock::Releaser : IDisposable
public: value class AsyncReaderWriterLock::Releaser : IAsyncDisposable, IDisposable
[System.Diagnostics.DebuggerDisplay("{awaiter.kind}")]
public struct AsyncReaderWriterLock.Releaser : IDisposable
[System.Diagnostics.DebuggerDisplay("{awaiter.kind}")]
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AsyncReaderWriterLock.Releaser : IAsyncDisposable, IDisposable
[<System.Diagnostics.DebuggerDisplay("{awaiter.kind}")>]
type AsyncReaderWriterLock.Releaser = struct
interface IDisposable
[<System.Diagnostics.DebuggerDisplay("{awaiter.kind}")>]
[<System.Runtime.CompilerServices.IsReadOnly>]
type AsyncReaderWriterLock.Releaser = struct
interface IDisposable
interface IAsyncDisposable
Public Structure AsyncReaderWriterLock.Releaser
Implements IDisposable
Public Structure AsyncReaderWriterLock.Releaser
Implements IAsyncDisposable, IDisposable
- Inheritance
-
AsyncReaderWriterLock.Releaser
- Attributes
- Implements
Methods
Dispose() |
Releases the lock. |
DisposeAsync() |
Releases the lock. |
ReleaseAsync() |
Asynchronously releases the lock. Dispose should still be called after this. |
Applies to
Thread Safety
This type is thread-safe for all members.