This documentation is archived and is not being maintained.
WebMethodAttribute Properties
Visual Studio 2010
The WebMethodAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
BufferResponse | Gets or sets whether the response for this request is buffered. |
|
CacheDuration | Gets or sets the number of seconds the response should be held in the cache. |
|
Description | A descriptive message describing the XML Web service method. |
|
EnableSession | Indicates whether session state is enabled for an XML Web service method. |
|
MessageName | The name used for the XML Web service method in the data passed to and returned from an XML Web service method. |
|
TransactionOption | Indicates the transaction support of an XML Web service method. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |
Show: