RegisteredWaitHandle

RegisteredWaitHandle marshal by reference

System.Threading (mscorlib.dll) sealed class

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

 public sealed class  RegisteredWaitHandle  : MarshalByRefObject {  // Public Instance Methods  public bool  Unregister  (WaitHandle   waitObject   );  // Protected Instance Methods  protected override void  Finalize  ( );  // overrides object  } 

Hierarchy

System.Object System.MarshalByRefObject RegisteredWaitHandle

Returned By

ThreadPool.{RegisterWaitForSingleObject( ) , UnsafeRegisterWaitForSingleObject( )}



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net