Attributes of a web method. Using attributes, you can define the behavior of the methods exposed.
Syntax
VB.net
_
Public Function ….
C#
[WebMethod (BufferResponse=false)]public int HelloWorld(){……
Attributes:
- BufferResponse: Should the response be buffered?
- CacheDuration: Number of seconds the response is cached in memory
- Description: Describe a web method
- EnableSession: Should session state be enabled or not?
- MessageName: Alias to a web method
- TransactionOption: Transaction support for a web-method
Creating Asynchronous methods: later ……
From: http://sitestree.com/?p=5225
Categories:24
Tags:
Post Data:2011-05-16 15:16:30
Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a>
In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
<a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>