예제 #1
0
 public override void Abort(WrappedServiceSkelAsyncAdapter async_adapter)
 {
     try
     {
         async_adapter.MakeAsync();
         generator.AsyncAbort().ContinueWith(t => async_adapter.EndTask(t));
     }
     catch (Exception e)
     {
         using (MessageEntry merr = new MessageEntry())
         {
             RobotRaconteurExceptionUtil.ExceptionToMessageEntry(e, merr);
             RRDirectorExceptionHelper.SetError(merr, e.ToString());
             return;
         }
     }
 }