T
tascien
Is it possible to put a <WebMethod> inside a class? here is an example:
Class ws
Inherits WebService
public del as Delegated
Class InnerClass
<WebMethod> function MyMethod()
end function
End Class
<WebMethod> function OtherMethod(InnerClass cls)
End Function
End Class
Class Delegated
<WebMethod> function MyMethod2()
End function
End Class
so, the client will access like:
dim inner as new ws.InnerClass
inner.MyMethod()
ws.OtherMethod(inner)
ws.del.MyMethod2()
etc....
Just want to build a good object model...
Class ws
Inherits WebService
public del as Delegated
Class InnerClass
<WebMethod> function MyMethod()
end function
End Class
<WebMethod> function OtherMethod(InnerClass cls)
End Function
End Class
Class Delegated
<WebMethod> function MyMethod2()
End function
End Class
so, the client will access like:
dim inner as new ws.InnerClass
inner.MyMethod()
ws.OtherMethod(inner)
ws.del.MyMethod2()
etc....
Just want to build a good object model...