Allocates a WaitHandle object efficiently.
[Visual Basic] Overridable Protected Function CreateWaitHandle() As WaitHandle [C#] protected virtual WaitHandle CreateWaitHandle(); [C++] protected: virtual WaitHandle* CreateWaitHandle(); [JScript] protected function CreateWaitHandle() : WaitHandle;
A new WaitHandle.
CreateWaitHandle might be useful if you implement the asynchronous methods and require a way of blocking in EndRead or EndWrite until the asynchronous operation is complete.