I used to be able to call an event that was within a different class. I then made everything in my main class and am using a background thread to do all the work while the main thread is on an infinit timeout(to keep my service running in debug mode, so it doesn't close.)
The issue is that when I raise the event that I was raising before, it throws an error on the line below:
This is how I am calling it.
The issue is that when I raise the event that I was raising before, it throws an error on the line below:
vbNET Code:
CType(Me.Events("PullSubscriptionChangeEvent"), pullSubscriptionEventHandler).Invoke(subscription, itemEvents, _emailService)
This is how I am calling it.