Skip to main content
ThreadingAttribute attribute

Applies to Windows and Windows Phone

Indicates the threading model of a Windows Runtime component.

Syntax


var threadingAttribute = new Windows.Foundation.Metadata.ThreadingAttribute();

public sealed class ThreadingAttribute : Attribute

Public NotInheritable Class ThreadingAttribute
    Inherits Attribute

public ref class ThreadingAttribute sealed : Attribute

Attributes

[ AttributeUsage(512)]
[ Version(0x6020000)]

Members

The ThreadingAttribute attribute has these types of members:

Constructors

The ThreadingAttribute attribute has these constructors.

ConstructorDescription
ThreadingAttribute Creates and initializes a new instance of the attribute.

 

Methods

The ThreadingAttribute attribute inherits methods from the Object class (C#/VB/C++).

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

Attribute