首页 \ 问答 \ 线程公寓状态(Thread Apartment State)

线程公寓状态(Thread Apartment State)

所有,

我一直在C#中使用线程一段时间,但我仍然对线程的公寓状态真正意味着什么感到困惑。 我知道WinForms必须始终使用STA公寓状态(而不是MTA),但我仍然不清楚公寓状态是什么。


All,

I have been using threads for a while in C# but I am still a bit confused about what a thread's apartment state really means. I know that WinForms must always use the STA apartment state (as opposed to MTA) but I am still not clear about what apartment states are all about.


原文:https://stackoverflow.com/questions/5168815
更新时间:2023-07-04 12:07

最满意答案

在Windows上,它使用正常的.NET代理设置。

http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx


On Windows, it uses the normal .NET proxy settings.

http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx

相关问答

更多
  • 它在beta频道http://www.cliffordroche.ca/unity-debugger-for-monodevelop-5-xamarin-2-updated/ 目前它不支持统一4.5调试器功能,如ios usb调试,并且有些不稳定有时与unity 4.5。 但是对于版本4.3.x来说版本是稳定的 It is in the beta channel http://www.cliffordroche.ca/unity-debugger-for-monodevelop-5-xamarin-2-up ...
  • 我认为它与许可有关,因为XamarinStudio + Android / iOS不是免费产品。 我相信MonoDevelop网站提供的“ 重新品牌化为XamarinStudio ”MonoDevelop只是缺少创建这些类型项目所需的东西。 虽然我有兴趣知道为什么MonoDevelop发布了XamarinStudio的残缺(读破)版本,但是可以从XamarinStudio网站上获得功能齐全的“XamarinStudio”,它可以在没有这个的情况下创建这些项目类型。问题(只要您有试用版或完整许可证)。 它仍然 ...
  • 做了一些挖掘并为您找到了这个: http : //devcomponents.com/blog/?p = 653 虽然它不是相同的组件,但行为通常是关于插件的普遍性。 右键单击VS图标并选择“以管理员身份运行”,以管理员身份运行VS. 这将允许取消选中复选框并保存您的首选项。 Did some digging and found this for you: http://devcomponents.com/blog/?p=653 Granted it's not the same component, bu ...
  • 这与为任何.NET应用程序配置代理相同。 IIRC,如果启用了自动检测,则.NET将使用WinHTTP代理设置,这些设置通过IE或proxycfg.exe设置。 回覆。 您的主要问题是, useDefaultCredentials属性应该在元素上,而不是元素。 This is the same as configuring the proxy for any .NET app. IIRC, if autodetection is enabled, then .NET ...
  • 我无法按照MonoDevelop网站上的说明进行此项工作。 甚至手动将额外的/ MonoDevelop.MonoMac额外添加到配置文件也不起作用。 最后,我使用mac配置文件从源代码构建MonoDevelop。 然后我得到了最新的MonoMac产品,并从源头构建它们。 我用了 进行更新 安装到我安装的MonoDevelop副本中。 然后,我手动将我安装的MonoDevelop中的以下软件包复制到master中新编译的版本: MacPlatform.dll MonoDevelop.iPhone MonoDe ...
  • Stetic是内置的。 只需创建一个新的GTK#项目。 Stetic is built-in. Simply create a new GTK# project.
  • 在Windows上,它使用正常的.NET代理设置。 http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx On Windows, it uses the normal .NET proxy settings. http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx
  • 在MonoDevelop中,转到工具 - >首选项--->文本编辑器 - >代码模板 - >按添加按钮 (在Windows(monodevelop 5.9.6)的工具 - >选项) In MonoDevelop, Go to Tools --> Preferences ---> Text Editor --> Code Templates --> Press the button Add (In Windows (monodevelop 5.9.6) its Tools --> Options)
  • 我可能正确理解你的背景。 我确定你知道这一点,但SVN也运行在不同的端口,所以你可能有一个问题:) 关于nginx中的location参数,您必须记住它只定义您在配置中设置的服务器名称的位置。 因此,对于您定义为data.svn.company.com的唯一服务器名称,您将定义该子域的每个位置。 我认为你实际上是在尝试定义多个子域。 因此,如果是这种情况,则必须设置多个服务器名称,如main.svn.company.com和data.svn.company.com而不是定义位置URI。 希望有所帮助:) I ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。