次の方法で共有


RunInSTAAttribute Class

Definition

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.

Applies to