RunInMTAAttribute 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 explicitly not being required to run in the STA for COM.
public ref class RunInMTAAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class RunInMTAAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type RunInMTAAttribute = class
inherit Attribute
Public NotInheritable Class RunInMTAAttribute
Inherits Attribute
- Inheritance
-
RunInMTAAttribute
- Attributes
Constructors
RunInMTAAttribute() |
Default constructor. |