MTA vs STA ApartmentStates

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)
 
I

Ioannis Vranos

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.
 
S

Serge Baltic

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top