Name

MTAThread

Valid on

Method

Description

Specifies that the application is to use the multithreaded apartment model. This attribute should be used only on an application’s Main method. The MTAThread attribute takes no arguments and has no properties. Threading models are not discussed in this book.

Get Programming Visual Basic .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.