Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

TryStart

func TryStart() -> Result<void, FileSystemWatcherError>

Declaring type: FileSystemWatcher
Module: System.IO
Assembly: System.Runtime.dll
Source file: FileSystemWatcher.rvn

Starts watching before returning. Repeated starts are harmless; disposal returns Closed. Notifications run on the invocation completion queue, at most 64 per 50 ms timer tick.

Return value

Result<void, FileSystemWatcherError>