ThreadPoolBoundHandle.GetNativeOverlappedState(NativeOverlapped*) 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

AllocateNativeOverlapped(IOCompletionCallback, Object, Object) 메서드를 호출하여 NativeOverlapped 인스턴스가 할당되었을 때 지정된 사용자 제공 개체를 반환합니다.

public:
 static System::Object ^ GetNativeOverlappedState(System::Threading::NativeOverlapped* overlapped);
[System.CLSCompliant(false)]
public static 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

매개 변수

overlapped
NativeOverlapped*

연결된 사용자 제공 개체를 반환하는 NativeOverlapped 구조체에 대한 관리되지 않는 포인터입니다.

반환

Object

NativeOverlapped 인스턴스를 다른 NativeOverlapped 인스턴스와 구별하는 사용자 제공 개체이거나, 또는 AllocateNativeOverlapped 메서드를 호출하여 인스턴스가 할당되었을 때 지정되지 않은 경우 null입니다.

특성

예외

overlapped이(가) null인 경우

적용 대상