WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) Method

정의

네이티브 운영 체제 대기 핸들에 대한 안전한 핸들을 가져옵니다.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 WaitHandle WaitHandle

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

반환

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

예외

waitHandlenull입니다.waitHandle is null.

설명

GetSafeWaitHandle 해당 값을 검색 하는 확장 메서드는는 WaitHandle.SafeWaitHandle 속성입니다.GetSafeWaitHandle is an extension method that is equivalent to retrieving the value of the WaitHandle.SafeWaitHandle property.

적용 대상