AddTimer() private method

private AddTimer ( TimerCallback callback, Object state, UInt32 dueTime, UInt32 period, System.Threading.StackCrawlMark &stackMark ) : void
callback TimerCallback
state Object
dueTime System.UInt32
period System.UInt32
stackMark System.Threading.StackCrawlMark
return void
コード例 #1
0
 private void TimerSetup(TimerCallback callback,
                         Object state,
                         UInt32 dueTime,
                         UInt32 period,
                         ref StackCrawlMark stackMark
                         )
 {
     timerBase = new TimerBase();
     timerBase.AddTimer(callback, state, (UInt32)dueTime, (UInt32)period, ref stackMark);
 }
コード例 #2
0
 private void TimerSetup(TimerCallback   callback,
                                               Object          state, 
                                               UInt32      dueTime,
                                               UInt32          period,
                                               ref StackCrawlMark  stackMark
                                               )
 {
     timerBase = new TimerBase();
     timerBase.AddTimer(callback, state,(UInt32) dueTime, (UInt32) period, ref stackMark);
 }