get list of subscribers to Event

  • Thread starter Thread starter Guest
  • Start date Start date
sippyuconn,

If you are working within the class that publishes the event, then yes,
you can just access the delegate, and you can call the GetInvocationList
method to get a list of the subscribers.

If you are working outside the class, then no, you can not get at the
invocation list, as the delegate is not exposed to you. You could use
reflection to get at it, but that would be a hack, at best.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top