Share via

IVsPackage::SetSite implementation for async extensions

Rudolf Meier 291 Reputation points
2021-02-23T14:12:15.943+00:00

IVsPackage::SetSite is called even for extensions implementing IAsyncLoadablePackageInitialize ... what's the idea behind that? What's the correct implementation? return S_OK? return E_NOTIMPL? return E_UNEXPECTED? ... thanks oh and... documentation is poor... (I know, doesn't help to say that, but... at least I tried... )... Rudolf

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,436 Reputation points
    2021-02-24T02:22:51.237+00:00

    Hi RudoIfMeier,

    It will return S_OK, you can refer to this document: IVsPackage.SetSite(IServiceProvider) Method

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.