About this task
To add an operation to an event, right‑click
the event in the browser and select .
The
new operation displays below the event in the browser, and when code
is generated, the operation displays in the class that represents
the event.
Note: Roundtripping does not bring into
the model any new operations that you have added to event classes
in your code, nor does it bring into the model changes that were made
directly to the body of operations that were previously created for
events.