STAThreadAttribute Class

Indicates that the COM threading model for a specific application is set to single-threaded apartment (STA).

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[AttributeUsageAttribute]
public sealed class STAThreadAttribute : Attribute

Remarks

The STAThreadAttribute class is provided for devices that connect to personal computers. Note that you use this class for applications that run on the computers, not on the devices themselves.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

STAThreadAttribute Members
System Namespace