Overlapped.Unpack(NativeOverlapped*) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
將指定 Unmanaged NativeOverlapped 結構解除封裝到 Managed 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 結構的 Unmanaged 指標。
傳回
Overlapped 物件,包含從原生結構解除封裝的資訊。
- 屬性
例外狀況
nativeOverlappedPtr
為 null
。
備註
在您 NativeOverlapped 呼叫 Free 方法之前,結構不會從實體記憶體釋放。