I have a piece of code:
innerchannel.Closing += Function(sender, e)
RaiseEvent Closing(sender, e)
End Function
There's an issue with
innerchannel.Closing
in which VisualStudio is telling me:
Public Event Closing(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
How do I repair this to work accordingly?
innerchannel
object'sClosing
event and have it handled by your local functionClosing
?