是否可以为 (asmx)-webservice 中使用的参数创建描述?我知道我可以使用 Description-property 设置 webmethod 的描述。但是,是否也可以向参数添加属性以在 Web 服务中为给定参数创建描述
[WebMethod(Description = @"Get all approved friends <br />
where rownum >= StartPage * count AND rownum < (StartPage+1) * count")]
public Friend[] GetFriendsPaged(int startPage, int count){...}
Run Code Online (Sandbox Code Playgroud)
例如,在上面给出的示例中,我想添加 StartPage 是从 0 开始的文档。
提前致谢
| 归档时间: |
|
| 查看次数: |
6233 次 |
| 最近记录: |