NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WebMethodAttribute Class

The web method attribute can be placed on a method in a web service class to mark it as available to be called via the web. The method and class must be marked public and must run inside of an ASP+ web application.

Object
   Attribute
      WebMethodAttribute

[Visual Basic]
Public Class WebMethodAttribute
   Inherits Attribute
[C#]
public class WebMethodAttribute : Attribute
[C++]
public __gc class WebMethodAttribute : public Attribute
[JScript]
public class WebMethodAttribute extends Attribute

Remarks

[To be supplied.]

Requirements

Namespace: System.Web.Services

Assembly: System.Web.Services.dll

See Also

WebMethodAttribute Members | System.Web.Services Namespace