Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebMethodAttribute::Description Property

 

A descriptive message describing the XML Web service method.

Namespace:   System.Web.Services
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property String^ Description {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A descriptive message describing the XML Web service method. The default value is String::Empty.

The descriptive message is displayed to prospective consumers of the XML Web service when description documents for the XML Web service are generated, such as the Service Description and the Service help page.

In the example below, the string Obtains the Server Computer Name is used to describe the XML Web service method in the Service Description and Service help page for the XML Web service.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft