Sets up a notify. pollMethod will be invoked at intervals of minDelay milliseconds or greater. If pollMethod returns true, notifyMethod will be invoked, up to a maximum of maxTimesToInvoke. Specifying maxTimesToInvoke of-1 will allow it to be invoked any number of times.
[Visual Basic] Overloads Overridable Public Sub AddOnNotify( _ ByVal pollMethod As BooleanReturnMethodInvoker, _ ByVal notifyMethod As MethodInvoker, _ ByVal minDelay As Long _ ) [C#] public virtual void AddOnNotify( BooleanReturnMethodInvoker pollMethod, MethodInvoker notifyMethod, long minDelay ); [C++] public: virtual void AddOnNotify( BooleanReturnMethodInvoker* pollMethod, MethodInvoker* notifyMethod, __int64 minDelay ); [JScript] public function AddOnNotify( pollMethod : BooleanReturnMethodInvoker, notifyMethod : MethodInvoker, minDelay : long );
ThreadNotify Class | ThreadNotify Members | System.WinForms.ComponentModel Namespace | ThreadNotify.AddOnNotify Overload List