TaskEnvironmentThreadApartmentState Property

Gets or sets the apartment state of the thread that will be used to set the task environment and execute the tasks. The default is to use STA (i.e. ApartmentState.STA).
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: (
public ApartmentState ThreadApartmentState { get; set; }

Property Value

Type: ApartmentState
The state of the thread apartment.
See Also

STK Scalability 1.4 API for .NET