共用方式為


AsyncSemaphore.Releaser Struct

Definition

A value whose disposal triggers the release of a lock.

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

Methods

Dispose()

Releases the lock.

Applies to

Thread Safety

This type is thread-safe for all members.