Change in Behavior of AdornerProvider Activate and Deactivate Methods

Change in Behavior of AdornerProvider Activate and Deactivate Methods

Rate This
  • Comments 1

We made a change post Visual Studio 2008 (Orcas) Beta 2 in the way the AdornerProvider.Activate() and AdornerProvider.Deactivate() methods are called. 

In the past you could assume that the Activate() and Deactivate() methods would be called exactly once per AdornerProvider instance. 

This is no longer true, in Visual Studio 2008 RTM, it will be possible that for a given AdornerProvider instance, the Activate() and Deactivate() methods will be called multiple times.  I had to update my TechEd samples to accomodate this.

Leave a Comment
  • Please add 4 and 7 and type the answer here:
  • Post