Platform::STAThreadAttribute Class
Collapse the table of content
Expand the table of content

Platform::STAThreadAttribute Class

 

Indicates that the threading model for an application is single-threaded apartment (STA).

public ref class STAThreadAttribute sealed : Attribute

Public Constructors

Name

Description

STAThreadAttribute constructor 

Initializes a new instance of the class.

Public Methods

The STAThreadAttribute attribute inherits from Platform::Object Class. STAThreadAttribute also overloads or has the following members:

Name

Description

STAThreadAttribute::Equals

Determines whether the specified object is equal to the current object.

STAThreadAttribute::GetHashCode

Returns the hash code for this instance.

STAThreadAttribute::ToString

Returns a string that represents the current object.

Requirements

Header: collection.h

Namespace: Platform

(NOTINBUILD) Platform Namespace

Show:
© 2017 Microsoft