示例#1
0
 private void run()
 {
     try {
         message     = GetMessage();
         isCompleted = true;
         callback(this);
         SendCompletedEvent(this);
     } catch (MonoMessagingException ex) {
         this.ex = ex;
     }
 }
示例#2
0
			private void run ()
			{
				try {
					message = GetMessage ();					
					isCompleted = true;
					callback (this);
					SendCompletedEvent (this);
				} catch (MonoMessagingException ex) {
					this.ex = ex;
				}
			}