TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
boosa Liberman
NA
5
9.8k
Thread and passing params
Nov 11 2010 4:46 AM
hi guys, i am having some trouble with the threading thingi :)
i am kinda newbie, but i am learning... (hopefully....)
i am getting this error:
"Method name expected" (also near the error i get "11") have no idea what it means....
when i try to:
---->
ThreadStart Monitor = new ThreadStart(MonitorAndUpdate(ref SensorReadings, message, SensorID));
<---- this is where i get the error
Thread thread = new Thread(Monitor);
thread.Start();
when:
public void MonitorAndUpdate(ref List<SensorReadings> SnsReadings, string Msg, ushort SensorID)
{
foreach (SensorReadings Info in SnsReadings)
{
if (Info.SensorID == SensorID)
rTxtVals.Text = Info.GraphVals;
}
}
can someone try and help me out here with this?
Reply
Answers (
1
)
How to over write a text???
How show preview before upload image