all groups > vj# > march 2006 >
You're in the

vj#

group:

JSharp Newbie


JSharp Newbie source
3/31/2006 4:04:38 PM
vj#:
I wanted to find out as to what API/Property will give me the current
executing thread model of a console/win app in JSharp

In C#, I can write;

System.Diagnostics.Debug.WriteLine(System.Threading.Thread.CurrentThread.GetApartmentState().ToString());

and it gives me the current ThreadModel, is there a similar way in J#

Really appreciate if someone can give any pointers.

Thank you,

source

RE: JSharp Newbie David Anton
4/1/2006 7:28:03 AM
System.Diagnostics.Debug.WriteLine(System.Threading.Thread.get_CurrentThread().GetApartmentState().ToString());

--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter & VB to C++ converter
Instant J#: VB to J# converter



[quoted text, click to view]
AddThis Social Bookmark Button