Search The Blog
About this site

@RoyOsherove

Subscribe!

This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

from 5whys.com
Twitter: @RoyOsherove
My Book: The Art of Unit Testing
Latest Posts
« Some thoughts on logic duplication in SOA design | Main | [Cool Tool] How could I miss Copernic Desktop Search? »
Sunday
Jan092005

Custom events in VB.Net

I had a discussion going on with some folks regarding the fact that VB.Net does not have the equivalent of C# event accessors (the "add" and "remove" accessors you can declare inside an event declaration).

We thought this wasn't possible until Paul Vick blogged about the "Custom Event" declaration that will be available with VB.Net 2.0. That's really good news. Now you can handle various problems such as non-serializaed events in a safer manner, or use the EventHandlerList class to manage many events in your class. Very Nice.

PrintView Printer Friendly Version

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>