Milleniumlegend
IS-IT--Management
- Dec 16, 2003
- 135
I am trying to create a new object but when compiling I am getting the following error message.
Could you please let me know what could be the reason.
The code is as follows.
The method is as follows in the API.
void addFileSystemListener(FileSystemEventListener listener)
Could you please provide some pointers.
Thanks
Could you please let me know what could be the reason.
The code is as follows.
Code:
private FileSystemWatcher _fileSystemWatcher;
void StartWatching()
{
_fileSystemWatcher = new FileSystemWatcher(PATH_TO_FILE, true);
_fileSystemWatcher.addFileSystemListener(this);
}
The method is as follows in the API.
void addFileSystemListener(FileSystemEventListener listener)
Could you please provide some pointers.
Thanks