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 操作完成时调用的委托、可提供上下文的用户提供的对象以及充当缓冲区的托管对象。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()

通过垃圾回收回收当前实例之前,释放非托管资源。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 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅