IHostIoCompletionManager Interface
Provides methods that allow the common language runtime (CLR) to interact with I/O completion ports provided by the host.
Methods
Method | Description |
---|---|
Bind Method | Binds a handle to an I/O completion port. |
CloseIoCompletionPort Method | Closes a port that was created through an earlier call to CreateIoCompletionPort . |
CreateIoCompletionPort Method | Requests that the host create a new I/O completion port. |
GetAvailableThreads Method | Gets the number of I/O completion threads that are not currently processing requests. |
GetHostOverlappedSize Method | Gets the size of any custom data the host intends to append to I/O requests. |
GetMaxThreads Method | Gets the maximum number of threads that the host can allot to service I/O requests. |
GetMinThreads Method | Gets the minimum number of threads that the host provides to service I/O requests. |
InitializeHostOverlapped Method | Provides the host with an opportunity to initialize any custom data about an I/O request. |
SetCLRIoCompletionManager Method | Provides the host with an interface pointer to an ICLRIoCompletionManager instance implemented by the CLR. |
SetMaxThreads Method | Sets the maximum number of threads that the host allots to service I/O requests. |
SetMinThreads Method | Sets the minimum number of threads that the host should allot to I/O completion. |
Remarks
IHostIoCompletionManager
corresponds to the ICLRIoCompletionManager
interface implemented by the CLR. The CLR calls the methods of IHostIoCompletionManager
to bind handles to the ports that the host provides, and the host calls the methods of ICLRIoCompletionManager
to report the completion of I/O requests.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.