MTA vs STA ApartmentStates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
There are MTA and STA ApartmentStates at Thread documentation in MSDN. I
could not understand the explanations in MSDN. Can you kindly explain the
differences and advantages of using MTA or STA?

MTA : Multi Threading
STA : Single Threading

--
İyi Çalışmalar
Alper AKÇAYÖZ (Bil Muh)

Wish You Good Work
Alper AKCAYOZ (Bil Muh)
 
Alper said:
Hello,
There are MTA and STA ApartmentStates at Thread documentation in MSDN. I
could not understand the explanations in MSDN. Can you kindly explain the
differences and advantages of using MTA or STA?

MTA : Multi Threading
STA : Single Threading


This is for the cases that you use COM objects in your .NET
applications. They have no effect on .NET facilities.
 
IV> This is for the cases that you use COM objects in your .NET
IV> applications. They have no effect on .NET facilities.

Is this about to change in the 2.0 version?
 
Back
Top