ThreadPoolBoundHandle.GetNativeOverlappedState(NativeOverlapped*) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Retourne l’objet fourni par l’utilisateur qui a été spécifié lorsque l’instance NativeOverlapped a été allouée en appelant la AllocateNativeOverlapped(IOCompletionCallback, Object, Object) méthode.

public:
 static System::Object ^ GetNativeOverlappedState(System::Threading::NativeOverlapped* overlapped);
[System.CLSCompliant(false)]
public static object GetNativeOverlappedState(System.Threading.NativeOverlapped* overlapped);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static object GetNativeOverlappedState(System.Threading.NativeOverlapped* overlapped);
[<System.CLSCompliant(false)>]
static member GetNativeOverlappedState : nativeptr<System.Threading.NativeOverlapped> -> obj
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member GetNativeOverlappedState : nativeptr<System.Threading.NativeOverlapped> -> obj

Paramètres

overlapped
NativeOverlapped*

Pointeur non managé vers la NativeOverlapped structure à partir de laquelle retourner l’objet fourni par l’utilisateur associé.

Retours

Objet fourni par l’utilisateur qui distingue cette NativeOverlapped instance d’autres NativeOverlapped instances ou null s’il n’a pas été spécifié lorsque l’instance a été allouée en appelant la AllocateNativeOverlapped méthode.

Attributs

Exceptions

overlapped a la valeur null.

S’applique à