Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A flavor of ManualResetEvent that can be asynchronously awaited.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Threading.AsyncManualResetEvent
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Class AsyncManualResetEvent
public class AsyncManualResetEvent
public ref class AsyncManualResetEvent
type AsyncManualResetEvent = class end
public class AsyncManualResetEvent
The AsyncManualResetEvent type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
AsyncManualResetEvent | Initializes a new instance of AsyncManualResetEvent. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
IsSet | Determines whether the event is currently in a signaled state. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetAwaiter | Gets an awaiter that completes when this event is signaled. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
PulseAllAsync | Sets and immediately resets this event, allowing all current waiters to unblock. |
![]() |
Reset | Resets this event to a state that will block callers of WaitAsync. |
![]() |
SetAsync | Sets this event to unblock callers of < WaitAsync. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
WaitAsync | Returns a task that will be completed when this event is set. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)