Developer Network
Developer Network
Developer Network
ProfileText
ProfileText
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
This forum has migrated to
Microsoft Q&A
.
Visit
Microsoft Q&A
to post new questions.
Learn More
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Answered by:
Set timeout to BackGroundworker
Archived Forums 1-20
>
.NET Framework Class Libraries
Question
0
Sign in to vote
Hi,
How do I set timeout to BackGroundworker...I want to cancel the async process after specic amount of time....is ther any way to associate timer to BackgroundWorker object...
your earliest replies are much appreacited..
Thanks,
Sai
C# Programmer
Monday, September 29, 2008 5:29 PM
Answers
2
Sign in to vote
start a timer and call BackgroundWorker.CancelAsync when timeout expires.
MSMVP VC++
Marked as answer by
SaiAcc
Tuesday, September 30, 2008 6:15 PM
Monday, September 29, 2008 6:22 PM