RunInSTAAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This attribute is used to mark a task class as being required to run in a Single Threaded Apartment for COM.
public ref class RunInSTAAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class RunInSTAAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type RunInSTAAttribute = class
inherit Attribute
Public NotInheritable Class RunInSTAAttribute
Inherits Attribute
- Inheritance
-
RunInSTAAttribute
- Attributes
Constructors
RunInSTAAttribute() |
Default constructor. |