UnauthorizedAccessException: 对路径的访问被拒绝。 StackTrace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) 在 System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer) 在 System.IO.FileStream.Dispose(Boolean disposing) 在 System.IO.Stream.Close() 在 System.IO.StreamWriter.Dispose(Boolean disposing) 在 System.IO.TextWriter.Dispose() 在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) 在 ActionPanelControl.Utilities.Manager.PanelManager.CheckData(Object sender, EventArgs e) 在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)