AsyncSemaphore Class

 

An asynchronous class like SemaphoreSlim with more convenient release syntax.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

System.Object
  Microsoft.VisualStudio.Threading.AsyncSemaphore

public class AsyncSemaphore

NameDescription
System_CAPS_pubmethodAsyncSemaphore(Int32)

Initializes a new instance of AsyncSemaphore.

NameDescription
System_CAPS_pubmethodEnterAsync(CancellationToken)

Requests access to the lock.

System_CAPS_pubmethodEnterAsync(Int32, CancellationToken)

Requests access to the lock.

System_CAPS_pubmethodEnterAsync(TimeSpan, CancellationToken)

Requests access to the lock.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This type is thread-safe for all members.

Return to top
Show: