Export (0) Print
Expand All

WebMethodAttribute Members

WebMethodAttribute overview

Public Constructors

public constructorWebMethodAttribute Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the WebMethodAttribute class.

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.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Attribute)

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
public methodMatch (inherited from Attribute)

Supported by the .NET Compact Framework.

When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

WebMethodAttribute Class | System.Web.Services Namespace

Show:
© 2015 Microsoft