Overlapped.Unpack(NativeOverlapped*) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 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 从本机结构解包的信息的对象。
- 属性
例外
nativeOverlappedPtr 是 null。
注解
在调用NativeOverlapped该方法之前,结构Free不会从物理内存中释放。