RunInMTAAttribute Class

Definition

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.

Applies to