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 从本机结构解包的信息的对象。

属性

例外

nativeOverlappedPtrnull

注解

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

适用于