G
Guest
I have an application that uses the FileSystemWatcher to monitor for the
"drop" of certain files in a folder. Custom actions are then executed based
on the file name, size, etc.
This application can listen for an unlimited number of files and therefore,
runs an unlimitede number of threads that implement the FileSystemWatcher.
However, if a critical error occurs one of these threads, the whole app
crashes.
Is there a way I can create an AppDomain (therefore, another process) for
each file listener? I guess I am trying to simulate what IIS6 does when you
add an applications to different ApplicationPools so that the crash of one
will not affect the other.
Can anyone point me in the right place? Thanks.
Shaun
"drop" of certain files in a folder. Custom actions are then executed based
on the file name, size, etc.
This application can listen for an unlimited number of files and therefore,
runs an unlimitede number of threads that implement the FileSystemWatcher.
However, if a critical error occurs one of these threads, the whole app
crashes.
Is there a way I can create an AppDomain (therefore, another process) for
each file listener? I guess I am trying to simulate what IIS6 does when you
add an applications to different ApplicationPools so that the crash of one
will not affect the other.
Can anyone point me in the right place? Thanks.
Shaun