PreAllocatedOverlapped 類別

定義

代表原生重疊 I/O 作業的預先配置狀態。Represents pre-allocated state for native overlapped I/O operations.

public ref class PreAllocatedOverlapped sealed : IDisposable
public sealed class PreAllocatedOverlapped : IDisposable
type PreAllocatedOverlapped = class
    interface IDisposable
Public NotInheritable Class PreAllocatedOverlapped
Implements IDisposable
繼承
PreAllocatedOverlapped
實作

建構函式

PreAllocatedOverlapped(IOCompletionCallback, Object, Object)

初始化 PreAllocatedOverlapped 類別的新執行個體,並指定當每個非同步 I/O 作業完成時叫用的委派、提供內容的使用者提供物件,以及作為緩衝區的 Managed 物件。Initializes a new instance of the PreAllocatedOverlapped class and specifies a delegate to invoke when each asynchronous I/O operation is complete, a user-provided object that provides context, and managed objects that serve as buffers.

方法

Dispose()

釋出與此 PreAllocatedOverlapped 執行個體建立關聯的資源。Frees the resources associated with this PreAllocatedOverlapped instance.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
Finalize()

在記憶體回收回收目前的執行個體前,先釋出 Unmanaged 資源。Frees unmanaged resources before the current instance is reclaimed by garbage collection.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱