Re: launch a thread with a NON-VOID method?
- From: "Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
- Date: Mon, 16 Apr 2007 15:15:05 -0400
Hi,
Return to whom?
The calling method will be gone by then.
"titan nyquist" <titan.nyquist@xxxxxxxxx> wrote in message
news:1176747532.869558.200930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have launched threads with void methods, like so:
TestClass testClass = new TestClass();
Thread testThread = new Thread(testClass.Launch);
testThread.Start();
Where testClass.Launch is void, this works.
I want to make testClass.Launch return a value (bool). Can I do this?
Titan
.
- Follow-Ups:
- Re: launch a thread with a NON-VOID method?
- From: titan nyquist
- Re: launch a thread with a NON-VOID method?
- References:
- launch a thread with a NON-VOID method?
- From: titan nyquist
- launch a thread with a NON-VOID method?
- Prev by Date: Re: Proper way to handle UnauthorizedAccessException
- Next by Date: Re: launch a thread with a NON-VOID method?
- Previous by thread: Re: launch a thread with a NON-VOID method?
- Next by thread: Re: launch a thread with a NON-VOID method?
- Index(es):