Class STAThreadAttribute
Indicates that the COM threading model for an application is single-threaded apartment (STA).
Inherited Members
Namespace: System
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public sealed class STAThreadAttribute : Attribute
Constructors
| Improve this Doc View SourceSTAThreadAttribute()
Initializes a new instance of the STAThreadAttribute class.
Declaration
public STAThreadAttribute()