17 implementations of AsyncWaitHandle
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (1)
49public WaitHandle AsyncWaitHandle
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\ClientCertLoader.cs (1)
331public WaitHandle AsyncWaitHandle
RequestProcessing\RequestStreamAsyncResult.cs (1)
162public WaitHandle AsyncWaitHandle
RequestProcessing\ResponseStreamAsyncResult.cs (1)
318public WaitHandle AsyncWaitHandle
PresentationFramework (1)
System\Windows\Documents\PageContentAsyncResult.cs (1)
87public WaitHandle AsyncWaitHandle
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
28WaitHandle IAsyncResult.AsyncWaitHandle => field ??= new LdapAsyncWaitHandle(_manualResetEvent.SafeWaitHandle);
System.Net.HttpListener (3)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
89public WaitHandle AsyncWaitHandle
System\Net\Managed\HttpStreamAsyncResult.cs (1)
84public WaitHandle AsyncWaitHandle
System\Net\Managed\ListenerAsyncResult.Managed.cs (1)
213public WaitHandle AsyncWaitHandle
System.Net.Requests (1)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
89public WaitHandle AsyncWaitHandle
System.Private.CoreLib (2)
src\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToAsyncResult.cs (1)
155public WaitHandle AsyncWaitHandle => ((IAsyncResult)_task).AsyncWaitHandle;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
1571WaitHandle IAsyncResult.AsyncWaitHandle
System.ServiceModel.Federation (1)
System\Runtime\OperationWithTimeoutAsyncResult.cs (1)
77public WaitHandle AsyncWaitHandle
System.ServiceModel.Primitives (1)
Internals\System\Runtime\AsyncResult.cs (1)
39public WaitHandle AsyncWaitHandle
System.Transactions.Local (1)
System\Transactions\CommittableTransaction.cs (1)
193WaitHandle IAsyncResult.AsyncWaitHandle
System.Windows.Forms (1)
System\Windows\Forms\Control.ThreadMethodEntry.cs (1)
49public WaitHandle AsyncWaitHandle
UnitTests.Common (1)
MockAsyncResult.cs (1)
28public WaitHandle AsyncWaitHandle { get; set; }
33 references to AsyncWaitHandle
Client.ExpectedExceptions.IntegrationTests (2)
ExpectedExceptionTests.4.1.0.cs (2)
253if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout)) 305if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout))
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
514bool success = ar.AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout);
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\ClientCertLoader.cs (1)
333get { return ((IAsyncResult)_tcs.Task).AsyncWaitHandle; }
RequestProcessing\RequestStreamAsyncResult.cs (1)
164get { return ((IAsyncResult)_tcs.Task).AsyncWaitHandle; }
RequestProcessing\ResponseStreamAsyncResult.cs (1)
320get { return ((IAsyncResult)_tcs.Task).AsyncWaitHandle; }
Microsoft.Build (4)
BackEnd\Client\MSBuildClientPacketPump.cs (2)
222((IAsyncResult)readTask).AsyncWaitHandle 313handles[1] = ((IAsyncResult)readTask).AsyncWaitHandle;
parent\Shared\NodeEndpointOutOfProcBase.cs (2)
696((IAsyncResult)readTask).AsyncWaitHandle, 867handles[0] = ((IAsyncResult)readTask).AsyncWaitHandle;
Microsoft.Diagnostics.NETCore.Client (1)
DiagnosticsIpc\IpcSocket.cs (1)
54if (result.AsyncWaitHandle.WaitOne(timeout))
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\StackGuard.cs (1)
63((IAsyncResult)task).AsyncWaitHandle.WaitOne();
MSBuild (2)
parent\Shared\NodeEndpointOutOfProcBase.cs (2)
696((IAsyncResult)readTask).AsyncWaitHandle, 867handles[0] = ((IAsyncResult)readTask).AsyncWaitHandle;
System.DirectoryServices.Protocols (2)
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (2)
471asyncResult.AsyncWaitHandle.WaitOne(); 483asyncResult.AsyncWaitHandle.WaitOne();
System.Linq.Expressions (1)
System\Linq\Expressions\StackGuard.cs (1)
74((IAsyncResult)task).AsyncWaitHandle.WaitOne();
System.Net.HttpListener (3)
System\Net\Managed\ChunkedInputStream.cs (1)
168asyncResult.AsyncWaitHandle.WaitOne();
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
265if (!ares.IsCompleted && !ares.AsyncWaitHandle.WaitOne(1000))
System\Net\Managed\HttpRequestStream.Managed.cs (1)
182asyncResult.AsyncWaitHandle.WaitOne();
System.Net.NameResolution (2)
System\Net\DnsSocket.cs (2)
152if (!asyncResult.AsyncWaitHandle.WaitOne(timeout)) 161asyncResult.AsyncWaitHandle.Close();
System.Net.Requests (2)
System\Net\FileWebRequest.cs (2)
258(!result.AsyncWaitHandle.WaitOne(Timeout, false) || !result.IsCompleted)) 274(!result.AsyncWaitHandle.WaitOne(Timeout, false) || !result.IsCompleted))
System.Private.CoreLib (3)
src\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToAsyncResult.cs (1)
155public WaitHandle AsyncWaitHandle => ((IAsyncResult)_task).AsyncWaitHandle;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
1565/// should be preferred over using <see cref="IAsyncResult.AsyncWaitHandle"/> for similar
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (1)
684asyncResult.AsyncWaitHandle,
System.ServiceModel.Federation (2)
System\Runtime\TaskHelpers.cs (2)
152((IAsyncResult)task).AsyncWaitHandle.WaitOne(); 172completed = ((IAsyncResult)task).AsyncWaitHandle.WaitOne(timeout);
System.ServiceModel.Primitives (3)
Internals\System\Runtime\TaskHelpers.cs (3)
269((IAsyncResult)task).AsyncWaitHandle.WaitOne(); 291((IAsyncResult)task).AsyncWaitHandle.WaitOne(); 311completed = ((IAsyncResult)task).AsyncWaitHandle.WaitOne(timeout);
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
5285marshaler.WaitForWaitHandle(asyncResult.AsyncWaitHandle);