How would I setup an event in my class to be automatically called. So, Im using a ChannelFactory object, which has a few events associated with it. Closed, Closing, Faulted, Opened, Opening. I want to do something specific when these events happen, but I guess im lost on how to automatically enter that event in my own class when it actually happens.


Have you created the events in your class? When you are creating custom events, you will have to call the events when the action occurs. Give us your code and we can be of better help. In the mean time, take a look at the following link as it explains what you are looking for you.

Custom Events in C#