CountdownEvent.WaitHandle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a WaitHandle that is used to wait for the event to be set.
public:
property System::Threading::WaitHandle ^ WaitHandle { System::Threading::WaitHandle ^ get(); };
public System.Threading.WaitHandle WaitHandle { get; }
member this.WaitHandle : System.Threading.WaitHandle
Public ReadOnly Property WaitHandle As WaitHandle
Property Value
A WaitHandle that is used to wait for the event to be set.
Exceptions
The current instance has already been disposed.
Remarks
WaitHandle should only be used if it's needed for integration with code bases that rely on having a WaitHandle. If all that's needed is to wait for the CountdownEvent to be set, the Wait method should be preferred.
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET