Condividi tramite


ICLRIoCompletionManager Interface

Implements a callback method that allows the host to notify the common language runtime (CLR) of the status of specified I/O requests.

interface ICLRIoCompletionManager : IUnknown {
    HRESULT OnComplete(
        [in] DWORD dwErrorCode,
        [in] DWORD NumberOfBytesTransferred,
        [in] void* pvOverlapped
    );
}

Methods

Method

Description

ICLRIoCompletionManager::OnComplete Method

Notifies the CLR of the status of an I/O request that was made by using a call to the IHostIoCompletionManager::Bind method.

Remarks

The host implements the I/O completion abstraction by using the IHostIoCompletionManager interface. The CLR makes I/O requests through this interface, and the host notifies the runtime of the outcome of such requests by using the ICLRIoCompletionManager interface.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

IHostIoCompletionManager Interface

IHostThreadPoolManager Interface

Hosting Interfaces