コード例 #1
0
 public Message(
     QueuedSynchronizationContext owner,
     SendOrPostCallback callback,
     object state)
 {
     this.owner          = owner;
     this.completedEvent = new EventWaitHandle(false, EventResetMode.ManualReset);
     this.callback       = callback;
     this.state          = state;
 }
コード例 #2
0
 public Message(
     QueuedSynchronizationContext owner,
     SendOrPostCallback callback,
     object state)
 {
     this.owner = owner;
     this.completedEvent = new EventWaitHandle(false, EventResetMode.ManualReset);
     this.callback = callback;
     this.state = state;
 }