共用方式為


AsyncReaderWriterLock.Releaser Struct

Definition

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.