Name

RegisteredWaitHandle

Synopsis

ThreadPool.RegisterWaitForSingleObject() returns a RegisteredWaitHandle. To cancel a registered wait (either a new one or one that continuously executes), use Unregister().

Public NotInheritable Class RegisteredWaitHandle : Inherits MarshalByRefObject
' Public Instance Methods
   Public Function Unregister(
        ByVal waitObject As WaitHandle) As Boolean  
' Protected Instance Methods
   Overrides Protected Sub Finalize() 
End Class

Hierarchy

System.ObjectSystem.MarshalByRefObject RegisteredWaitHandle

Returned By

ThreadPool.{RegisterWaitForSingleObject(), UnsafeRegisterWaitForSingleObject()}

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.