public bool SetValue(int newval, Param1 p) { Console.WriteLine("MyRemoteService.setValue(): old {0} new {1}", myvalue, newval); param.Id = p.Id; param.UserName = p.UserName; myvalue = newval; Console.WriteLine(" .setValue() -> value is now set"); return true; }
public MyRemoteService() { Console.WriteLine("MyRemoteObject.Constructor: New Object created"); param = new Param1(); }