想知道[STAThread] [英] Want to know [STAThread]
本文介绍了想知道[STAThread]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hii专业人士
我想了解更多关于[STAThread]的信息,它位于Windows应用程序中...
Hii Professionals
I want to know more about [STAThread] that stands in windows application ...
推荐答案
这是最好的起点: Google搜索 - STAThread [ ^ ]
This is the best places to start: Google search - STAThread[^]
这基本上告诉应用程序它将在称为单线程单元的东西中运行。有关这意味着什么的详细信息,我建议您先阅读这个 [ ^ ]然后此 [ ^ ]首先了解STA的实际含义,然后了解它在Windows窗体和WPF应用程序中使用的原因。
This basically tells the application that it will be running in something called a Single Thread Apartment. For details of what this means, I''d suggest that you start off by reading this[^] then this[^] to get an understanding, first of what STA actually means, and then why it''s used in Windows Forms and WPF apps.
请参阅:在Stack Overflow上进行多线程和多线程处理 [ ^ ]。
这篇关于想知道[STAThread]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文