StackOverflow Questions for Tag: apartment-state

xaria
xaria

Reputation: 842

The calling thread must be STA, because many UI components require this WPF

Score: 0

Views: 14742

Answers: 2

Read More
Martin
Martin

Reputation: 2096

How to get the main thread of a console app to be MTA?

Score: 2

Views: 435

Answers: 1

Read More
Kai Day
Kai Day

Reputation: 21

When creating a Thread on a class called from an STAThread instance, what will the apartment state be?

Score: 0

Views: 114

Answers: 1

Read More
Ben
Ben

Reputation: 4319

How can I set the runspace of PowerShell code I am running from c#?

Score: 0

Views: 953

Answers: 1

Read More
bvdb
bvdb

Reputation: 24770

STAThread requirement for windows forms

Score: 1

Views: 951

Answers: 1

Read More
ehh
ehh

Reputation: 3480

Parallel Foreach throw an ApartmentState exception

Score: 1

Views: 1295

Answers: 1

Read More
Chris Graham
Chris Graham

Reputation: 125

C# Shutdown A Thread That Uses Application.Run()

Score: 1

Views: 1497

Answers: 3

Read More
Xaqron
Xaqron

Reputation: 30867

How many 'STA' threads can coexist inside a process?

Score: 7

Views: 5838

Answers: 4

Read More
Mrchief
Mrchief

Reputation: 76238

ASP.Net WebApi STA Mode

Score: 3

Views: 1384

Answers: 1

Read More
jfgi
jfgi

Reputation: 107

ArgumentOutOfRangeException in SetApartmentState

Score: 0

Views: 58

Answers: 1

Read More
Max
Max

Reputation: 180

How to Query the COM Apartment State for the Current Thread

Score: 3

Views: 1772

Answers: 1

Read More
JulienVan
JulienVan

Reputation: 891

Cannot set current thread apartment to STA in C# Windows application main program

Score: 1

Views: 1481

Answers: 0

Read More
stiank81
stiank81

Reputation: 25716

How to check apartment state of current thread?

Score: 28

Views: 7262

Answers: 2

Read More
MatteS
MatteS

Reputation: 1542

TeamCity SpecFlow NUnit Watin and ApartmentState STA

Score: 1

Views: 1122

Answers: 2

Read More
MatteS
MatteS

Reputation: 1542

SpecFlow NUnit RequiresSTA attribute

Score: 0

Views: 521

Answers: 1

Read More
madeFromCode
madeFromCode

Reputation: 721

ActiveX control cannot be instantiated because thread is in a single-threaded apartment. Happens after waking PC from sleep

Score: 3

Views: 9111

Answers: 1

Read More
wizzard0
wizzard0

Reputation: 1928

Applying LoaderOptimization to in-process COM servers

Score: 0

Views: 343

Answers: 1

Read More
BuddyJoe
BuddyJoe

Reputation: 71141

NUnit GUI Runner and Apartment State

Score: 10

Views: 3338

Answers: 2

Read More
Louis Rhys
Louis Rhys

Reputation: 35637

can I modify the nature of the thread that will BeginInvoke my delegate?

Score: 0

Views: 320

Answers: 1

Read More
hb.
hb.

Reputation: 1765

Winforms: One COM object needs an STAThread, the other needs an MTAThread. How can I use them?

Score: 3

Views: 1596

Answers: 1

Read More
PreviousPage 1Next