1
Reply

return type of a web method

Ask a question
softlera

softlera

20y
1.8k
1
hello forum, I am developing a Web Service in C# with Visual Studio .NET. I want to define a web method which returns a type (for example, a struct) if the operation is successful and returns another different type (another struct) if the operation fails. I dont Know how to do this with Web Services. Could you help me? Thanks in advance.

Answers (1)