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 string Description { get; set; }

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: