Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我们有一个前景插件。我们在代码中使用了任务工厂和后台工作者。我们在 UI 设计中使用了 WPF。我们看到一些关于 Outlook 崩溃和 Outlook 禁用插件的问题。插件可以进入禁用模式的原因是什么?
Outlook 对象模型应仅在主线程上使用,因为 Office 应用程序使用单线程单元。您可以自由使用低级 API - 可用于辅助线程的扩展 MAPI。或围绕该 API 的任何其他包装器。