Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Implementing an event which supports only a single event handler, in C#

, 30 Nov 2005
This article demonstrates how to implement an event, for which at a given point of time only one client can subscribe to. If multiple clients subscribe to the same event (of the same object), only the client subscribing last will get the event notification.
singlecastevent_demo.zip
singlecastevent_source.zip
SinglecastEvent
SinglecastEvent
App.ico
SinglecastEvent.csproj.user
SinglecastEvent.suo
singlecastevent__src.zip
App.ico
SinglecastEvent.csproj.user
singlecastevent___src.zip
App.ico
SinglecastEvent.csproj.user
SinglecastEvent.suo

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Madhu Raykar
Web Developer
India India
I have been working in software industry for the past 5 years now. Enjoy working on complex and new technologies. Worked on Microsoft technologies Like VC++, COM, XML, SQL. Currently working on .Net, C#.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 30 Nov 2005
Article Copyright 2005 by Madhu Raykar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid