Interwizard
Programmer
Is it possible to code a custom event into a asp.net webservice and have a calling app listen for that event?
On my WebService, I have:
Public Event OrderComplete(ByVal Sender As Object, ByVal e As OrderCompleteEventArgs)
Public Class OrderCompleteEventArgs
Inherits System.EventArgs
'Plan was to put some custom properties here.
End Class
On my calling Winform, I have:
Public WithEvents OrderService As New wsOrderNewOrderEntry.OrderEntry
Private Sub OrderService_Start(ByVal sender As Object, _
ByVal e As EventArgs) Handles OrderService.
'...
End Sub
But... as I go to fill in the very necessary Handles OrderService.OrderComplete, the debugger accepts no events for OrderService.. Is this even possible or am I smoking crack?
Many Thanks,
On my WebService, I have:
Public Event OrderComplete(ByVal Sender As Object, ByVal e As OrderCompleteEventArgs)
Public Class OrderCompleteEventArgs
Inherits System.EventArgs
'Plan was to put some custom properties here.
End Class
On my calling Winform, I have:
Public WithEvents OrderService As New wsOrderNewOrderEntry.OrderEntry
Private Sub OrderService_Start(ByVal sender As Object, _
ByVal e As EventArgs) Handles OrderService.
'...
End Sub
But... as I go to fill in the very necessary Handles OrderService.OrderComplete, the debugger accepts no events for OrderService.. Is this even possible or am I smoking crack?
Many Thanks,