Windows Dev Center

Platform::STAThreadAttribute Class

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

public ref class STAThreadAttribute sealed : Attribute

Name

Description

STAThreadAttribute constructor

Initializes a new instance of the class.

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.

Header: collection.h

Namespace: Platform

Other Resources

Platform Namespace
Show:
© 2015 Microsoft