WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) 메서드

정의

네이티브 운영 체제 대기 핸들에 대한 안전한 핸들을 가져옵니다.Gets the safe handle for a native operating system wait handle.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Win32::SafeHandles::SafeWaitHandle ^ GetSafeWaitHandle(System::Threading::WaitHandle ^ waitHandle);
[System.Security.SecurityCritical]
public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle (this System.Threading.WaitHandle waitHandle);
static member GetSafeWaitHandle : System.Threading.WaitHandle -> Microsoft.Win32.SafeHandles.SafeWaitHandle

매개 변수

waitHandle
WaitHandle

네이티브 운영 체제 핸들입니다.A native operating system handle.

반환

네이티브 운영 체제 대기 핸들을 래핑하는 안전한 대기 핸들입니다.The safe wait handle that wraps the native operating system wait handle.

특성

예외

waitHandle이(가) null인 경우waitHandle is null.

설명

GetSafeWaitHandleWaitHandle.SafeWaitHandle 속성의 값을 검색 하는 것과 동일한 확장 메서드입니다.GetSafeWaitHandle is an extension method that is equivalent to retrieving the value of the WaitHandle.SafeWaitHandle property.

적용 대상