Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / April 2006

Tip: Looking for answers? Try searching our database.

JSharp Newbie

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
source - 01 Apr 2006 01:04 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.