ThreadingAttribute ThreadingAttribute ThreadingAttribute ThreadingAttribute Class

Indicates the threading model of a Windows Runtime component.

Syntax

Declaration

public sealed class ThreadingAttributepublic sealed class ThreadingAttributePublic NotInheritable Class ThreadingAttributepublic sealed class ThreadingAttribute

Constructors summary

Creates and initializes a new instance of the attribute.

Constructors

  • ThreadingAttribute(ThreadingModel)
    ThreadingAttribute(ThreadingModel)
    ThreadingAttribute(ThreadingModel)
    ThreadingAttribute(ThreadingModel)

    Creates and initializes a new instance of the attribute.

    public ThreadingAttribute(ThreadingModel model)public New(ThreadingModel model)Public Sub New(model As ThreadingModel)public ThreadingAttribute(ThreadingModel model)

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.AttributeUsageAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Foundation.Metadata.dll