RunInMTAAttribute Class

Definition

This attribute is used to mark a task class as explicitly not being required to run in the STA for COM.

C#
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class RunInMTAAttribute : Attribute
Inheritance
RunInMTAAttribute
Attributes

Constructors

RunInMTAAttribute()

Default constructor.

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17