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.
使用 Visual Studio DTE,我可以使用 ExecuteCommand 方法执行命令。但是,它们是异步执行的。我想等到 ExecuteCommand 方法完成后再调用下一个方法。有没有办法同步调用 ExecuteCommand ?