'My WCF service class Public Class LogProLiveCommunication Implements ILogProLiveCommunication Public Event Test(ByVal sender As System.Object, ByVal e As System.EventArgs) 'This function is called by the WCF client and works ok except from the raise event Test!?! Public Function ConnectToLogProLive(ByVal clientName As String, ByVal clientIP As String) As String Implements ILogProLiveCommunication.ConnectToLogProLive MsgBox("Client Connected: " & clientName & " IP: " & clientIP) Debug.Write("Service: RaiseEvent Client Connected: " & clientName & " IP: " & clientIP) 'This works RaiseEvent Test(Me, New EventArgs) 'This doesnt work Return "Ok" 'Works End Function Public Sub raiseEventTest() RaiseEvent Test(Me, New EventArgs) 'This one is fired ok End Sub End Class
ConnectToLogProLive
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)