I have something like this
Public Sub New()
Public MyVar As Integer
Public Sub Start
Public Class MyNotificationServer
Public Function GetMyVar() As Integer
' Here I want to be able to get a reference to the instance
of MyClass, so that I can get the value of MyVar
All the other stuff is in place to make this work, but I need to be able to
get a reference to the instance of MyClass when GetMyVar() is called. I've
looked at the various methods and properties of OperationContext.Current,
but just cannot find what I need.
Can anyone suggest how I could do this?
View Complete Post