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

IHostIoCompletionManager::Bind Method

Binds a handle to an I/O completion port.

IHostIoCompletionManager::CloseIoCompletionPort Method

Closes a port that was created through an earlier call to CreateIoCompletionPort.

IHostIoCompletionManager::CreateIoCompletionPort Method

Requests that the host create a new I/O completion port.

IHostIoCompletionManager::GetAvailableThreads Method

Gets the number of I/O completion threads that are not currently processing requests.

IHostIoCompletionManager::GetHostOverlappedSize Method

Gets the size of any custom data the host intends to append to I/O requests.

IHostIoCompletionManager::GetMaxThreads Method

Gets the maximum number of threads that the host can allot to service I/O requests.

IHostIoCompletionManager::GetMinThreads Method

Gets the minimum number of threads that the host provides to service I/O requests.

IHostIoCompletionManager::InitializeHostOverlapped Method

Provides the host with an opportunity to initialize any custom data about an I/O request.

IHostIoCompletionManager::SetCLRIoCompletionManager Method

Provides the host with an interface pointer to an ICLRIoCompletionManager instance implemented by the CLR.

IHostIoCompletionManager::SetMaxThreads Method

Sets the maximum number of threads that the host allots to service I/O requests.

IHostIoCompletionManager::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 .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Interfaces