System.IO.FileSystemWatcher.RunningInstance.Start C# (CSharp) Méthode

Start() private méthode

private Start ( ) : void
Résultat void
            internal void Start()
            {
                // Schedule a task to read from the inotify queue and process the events.
                Task.Factory.StartNew(obj => ((RunningInstance)obj).ProcessEvents(),
                    this, CancellationToken.None, TaskCreationOptions.LongRunning, TaskScheduler.Default);

                // PERF: As needed, we can look into making this use async I/O rather than burning
                // a thread that blocks in the read syscall.
            }