System.IO.IOException
句柄无效。

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__ConsoleStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
   at System.IO.TextWriter.SyncTextWriter.WriteLine(String format, Object[] arg)
   at System.Console.WriteLine(String format, Object[] arg)
   at Shell.WriteLine(Int32 level, String format, Object[] args) in D:\BitBucket\rm_assistant_vs2017\RmAssistant\Utility\Shell.cs:line 79
   at Shell.WriteLine(Int32 level, String str) in D:\BitBucket\rm_assistant_vs2017\RmAssistant\Utility\Shell.cs:line 54
   at BaseService.SendEvent(BaseEvent ev) in D:\BitBucket\rm_assistant_vs2017\RmAssistant\Service\BaseService.cs:line 105
   at BaseService.Run() in D:\BitBucket\rm_assistant_vs2017\RmAssistant\Service\BaseService.cs:line 133
   at BaseService.WorkProc() in D:\BitBucket\rm_assistant_vs2017\RmAssistant\Service\BaseService.cs:line 113
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
