示例#1
0
 /// <summary>
 /// the dispatch method that is responsible for the actual events dispatch
 /// </summary>
 /// <param name="args">an event argument that is a 'RemoteEventArgs' derived object</param>
 public void DispatchEvent(RemoteEventArgs args)
 {
     // a delegate is used here to dispatch the event on a thread pool thread
     _eventDelegate.BeginInvoke(args, null, null);
 }