私はFileSystemWatcherディレクトリでを使用していて、そのイベントハンドラーを追加し、そのEnableRaisingEvents=true;andを設定しIncludeSubdirectories=false;て追加しましNotifyFiltersた。
アプリケーションの実行中に、指定したディレクトリに新しいフォルダを作成すると、
FileNotFoundException:「ディレクトリの読み取り中にエラーが発生しました」。System.IO.FileSystemWatcher.StartRaisingEvents()System.IO.FileSystemWatcher.set_EnableRaisingEvents(ブール値)
問題の根本的な原因は何でしょうか?
何StartRaisingEvents()ですか?