Transferred from: http://exception.thinksaas.cn/0/173/173623.html
Hypertext can be used in the description of WebMethod,
Example:
For example, how is the WebService interface description of the Red box class implemented?
1, bold font title
2. Line break
3. Links
4. Icons
This is the service interface Http://www.webxml.com.cn/WebServices/WeatherWebService.asmx
------To solve the idea----------------------
[WebService (Namespace = "http://tempuri.org/", description= "description 1")]
[WebServiceBinding (ConformsTo = wsiprofiles.basicprofile1_1)]
[System.ComponentModel.ToolboxItem (False)]
[System.Web.Script.Services.ScriptService]
public class WebService1:System.Web.Services.WebService
{
[WebMethod (description= "description 2")]
public string HelloWorld ()
{
Return "Hello World";
}
}
------To solve the idea----------------------
Description can put hypertext inside.
[WebMethod (description= "public string HelloWorld ()
{
Return "Hello World";
}
Description of the Description property of the WebService (go)