I did change the language to C# for my version, since I perfer it over VB.Net. There were some changes that I had to go about in a different way to get it to be successful.
Example:
Dim t As Type = GetType(ServiceLib.HelloService)
vs.
ServiceLib.HelloService hs = new ServiceLib.HelloService();
Type t = Type.GetTypeArray(new object[]{hs})[0];
2 comments:
I think what you really want here is:
Type t = typeof(ServiceLib.HelloService);
Thanks for the correction, you're absolutely correct.
Post a Comment