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

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic applies Topic does not apply Topic does not apply Topic does not apply Topic applies

Pro, Premium, and Ultimate

Topic applies Topic does not apply Topic does not apply Topic does not apply Topic applies

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.

See Also

Tasks

How to: Apply Edits in Break Mode with Edit and Continue

Reference

Edit and Continue (Visual Basic): Unsupported Declaration Edits

Other Resources

Edit and Continue (Visual Basic)