Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ThreadingAttribute Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Indicates the threading model of a Windows Runtime class.

public ref class ThreadingAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class ThreadingAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class ThreadingAttribute : Attribute
function ThreadingAttribute(model)
Public NotInheritable Class ThreadingAttribute
Inherits Attribute
Inheritance
ThreadingAttribute
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Constructors

Name Description
ThreadingAttribute(ThreadingModel)

Creates and initializes a new instance of the attribute.

Applies to

See also


Feedback

Was this page helpful?