Condividi tramite


Overlapped.Unpack(NativeOverlapped*) Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Decomprime la struttura non gestita NativeOverlapped specificata in un oggetto Overlapped gestito.

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

Parametri

nativeOverlappedPtr
NativeOverlapped*

Puntatore non gestito a una struttura NativeOverlapped.

Restituisce

Overlapped

Oggetto Overlapped contenente le informazioni decompresse dalla struttura nativa.

Attributi

Eccezioni

nativeOverlappedPtr è null.

Commenti

La NativeOverlapped struttura non viene liberata dalla memoria fisica fino a quando non si chiama il Free metodo .

Si applica a