ThreadingAttribute ThreadingAttribute ThreadingAttribute ThreadingAttribute Class

Definition

Indicates the threading model of a Windows Runtime component.

public : sealed class ThreadingAttribute : Attribute
public sealed class ThreadingAttribute : Attribute
Public NotInheritable Class ThreadingAttribute Inherits Attribute
var threadingAttribute = new threadingAttribute(model);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

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

Creates and initializes a new instance of the attribute.

public : ThreadingAttribute(ThreadingModel model)
public ThreadingAttribute(ThreadingModel model)
Public Sub New(model As ThreadingModel)
var threadingAttribute = new threadingAttribute(model);
Parameters
model
ThreadingModel ThreadingModel ThreadingModel ThreadingModel

One of the enumeration values.

See Also