WebMethodAttribute::Description Property
.NET Framework (current version)
A descriptive message describing the XML Web service method.
Assembly: System.Web.Services (in System.Web.Services.dll)
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
Available since 1.1
Show: