M
MS
Hi. I'm new to developing and c#.
I'm developing a tool that allows a user to select a directory with
specially formatted files. The tool then iterates through the list of files
in the directory and sends their content via msmq. The part that iterates
and sends the files is in a separate thread. I have a button on the form
that allows the user to pause or resume the sending of these files. I'm
currently using thread.suspend and thread.resume for this. In the .NET
Framework 2.0 documentation it states that these methods are now deprecated.
How else can I achieve this functionality without using these methods?
Thanks!
I'm developing a tool that allows a user to select a directory with
specially formatted files. The tool then iterates through the list of files
in the directory and sends their content via msmq. The part that iterates
and sends the files is in a separate thread. I have a button on the form
that allows the user to pause or resume the sending of these files. I'm
currently using thread.suspend and thread.resume for this. In the .NET
Framework 2.0 documentation it states that these methods are now deprecated.
How else can I achieve this functionality without using these methods?
Thanks!