Overlapped.Unpack(NativeOverlapped*) 方法

定义

重要

此 API 不符合 CLS。

将指定的非托管 NativeOverlapped 结构解压缩为 Overlapped 对象。

public:
 static System::Threading::Overlapped ^ Unpack(System::Threading::NativeOverlapped* nativeOverlappedPtr);
[System.CLSCompliant(false)]
public static System.Threading.Overlapped Unpack (System.Threading.NativeOverlapped* nativeOverlappedPtr);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static System.Threading.Overlapped Unpack (System.Threading.NativeOverlapped* nativeOverlappedPtr);
[<System.CLSCompliant(false)>]
static member Unpack : nativeptr<System.Threading.NativeOverlapped> -> System.Threading.Overlapped
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member Unpack : nativeptr<System.Threading.NativeOverlapped> -> System.Threading.Overlapped

参数

nativeOverlappedPtr
NativeOverlapped*

一个指向 NativeOverlapped 结构的非托管指针。

返回

Overlapped

一个 Overlapped 对象,包含从本机结构解压缩的信息。

属性

例外

nativeOverlappedPtrnull

注解

在调用Free该方法之前,结构NativeOverlapped不会从物理内存中释放。

适用于