IThreadPool Interface¶
- Namespace
Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure
- Assemblies
- Microsoft.AspNetCore.Server.Kestrel
Syntax¶
public interface IThreadPool
-
interface
Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.
IThreadPool
Methods¶
-
Cancel
(System.Threading.Tasks.TaskCompletionSource<System.Object>)¶ void Cancel(TaskCompletionSource<object> tcs)
-
Complete
(System.Threading.Tasks.TaskCompletionSource<System.Object>)¶ void Complete(TaskCompletionSource<object> tcs)
-
Error
(System.Threading.Tasks.TaskCompletionSource<System.Object>, System.Exception)¶ void Error(TaskCompletionSource<object> tcs, Exception ex)
-
Run
(System.Action)¶ void Run(Action action)
-