Click here to Skip to main content
15,922,630 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please any buddy tell me if suppose i have 10 methods in my web service and i want to show only three methods among ten methods then what i need to do please give with example.
Posted
Comments
Smanish87 15-May-13 5:30am    
Link is not opening so will you provide any other way
ankitsrist 15-May-13 5:48am    
by removing [WebMethod] from above the method declaration which you dont want to use

by using [WebMethod] attribute.

http://msdn.microsoft.com/en-us/library/byxd99hx(v=vs.71).aspx

hope this helps you.
 
Share this answer
 
Either remove WebMethod Attribute Or Try changing Access Modifier..

Or Check this Link once... http://msdn.microsoft.com/en-us/library/765xy944.aspx[^]
 
Share this answer
 
v2
Comments
Smanish87 15-May-13 5:45am    
can you give example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900