DiscussionWebService.QueryDiscussionsByCodeReviewRequest 方法
命名空间: Microsoft.TeamFoundation.Discussion.Server
程序集: Microsoft.TeamFoundation.Discussion.Server(在 Microsoft.TeamFoundation.Discussion.Server.dll 中)
语法
声明
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
<WebMethodAttribute> _
Public Function QueryDiscussionsByCodeReviewRequest ( _
workItemId As Integer, _
<OutAttribute> ByRef comments As List(Of Comment), _
<OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of DiscussionThread)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
[WebMethodAttribute]
public List<DiscussionThread> QueryDiscussionsByCodeReviewRequest(
int workItemId,
out List<Comment> comments,
out TeamFoundationIdentity[] authors
)
参数
- workItemId
类型:System.Int32
- comments
类型:System.Collections.Generic.List<Comment>%
- authors
类型:array<Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity[]%
返回值
类型:System.Collections.Generic.List<DiscussionThread>
返回 List<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。