This topic has not yet been rated - Rate this topic

Edit and Continue (Visual Basic): Delegate and Event Declaration Edits 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express

Yes

No

No

No

Standard

Yes

No

No

No

Pro/Team

Yes

No

No

No

Most changes to delegates and events are not allowed by Edit and Continue during Break mode. Specifically, Edit and Continue does not support the following changes:

  • Defining a new delegate.

  • Changing or deleting a delegate definition.

  • Defining a new event.

  • Deleting an event.

  • Changing the signature of an event.

  • Removing an event handler. Adding a new event handler is allowed.

If you want to make one of these changes, you must stop debugging and recompile your project.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.