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
David Anton - 01 Apr 2006 16:28 GMT
System.Diagnostics.Debug.WriteLine(System.Threading.Thread.get_CurrentThread().GetApartmentState().ToString());

Signature
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
> 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
[quoted text clipped - 10 lines]
>
> source