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.
我在 VSTO 2005 中创建了 Outlook 2003 插件。我正在尝试访问约会项目的正文。当此语句运行时,Outlook 会弹出一个安全对话框,询问是否允许访问该信息。我们如何绕过此检查或我们需要执行的任何其他设置以使其不会出现?
这是内置的安全功能。如果我们尝试访问 Appointment 的正文,它会抛出安全对话框。在 AddIn dll 被信任之前,这是无法避免的。