Table of Contents

Class STAThreadAttribute

Namespace
System
Assembly
mscorlib.dll

Indicates that the COM threading model for an application is single-threaded apartment (STA).

[AttributeUsage(AttributeTargets.Method)]
public sealed class STAThreadAttribute : Attribute
Inheritance
STAThreadAttribute
Inherited Members
Extension Methods

Constructors

STAThreadAttribute()

Initializes a new instance of the STAThreadAttribute class.

public STAThreadAttribute()