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.
Initializes a new instance of AsyncManualResetEvent.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub New ( _
initialState As Boolean, _
allowInliningAwaiters As Boolean _
)
public AsyncManualResetEvent(
bool initialState,
bool allowInliningAwaiters
)
public:
AsyncManualResetEvent(
bool initialState,
bool allowInliningAwaiters
)
new :
initialState:bool *
allowInliningAwaiters:bool -> AsyncManualResetEvent
public function AsyncManualResetEvent(
initialState : boolean,
allowInliningAwaiters : boolean
)
Parameters
initialState
Type: System.Booleantrue if the event should be initially signaled, otherwise false.
- allowInliningAwaiters
Type: System.Boolean
Remarks
false better simulates the behavior of theManualResetEventSlim class, but true can result in slightly better performance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.