This documentation is archived and is not being maintained.

WebMethodAttribute Properties

The properties of the WebMethodAttribute class are listed here. For a complete list of WebMethodAttribute class members, see the WebMethodAttribute Members topic.

Public Properties

public propertyBufferResponse Gets or sets whether the response for this request is buffered.
public propertyCacheDuration Gets or sets the number of seconds the response should be held in the cache.
public propertyDescription

Supported by the .NET Compact Framework.

A descriptive message describing the XML Web service method.
public propertyEnableSession Indicates whether session state is enabled for an XML Web service method.
public propertyMessageName

Supported by the .NET Compact Framework.

The name used for the XML Web service method in the data passed to and returned from an XML Web service method.
public propertyTransactionOption Indicates the transaction support of an XML Web service method.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

WebMethodAttribute Class | System.Web.Services Namespace

Show: