共用方式為


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
)

參數

傳回值

型別:System.Collections.Generic.List<DiscussionThread>
傳回 List<T>

.NET Framework 安全性

請參閱

參考

DiscussionWebService 類別

Microsoft.TeamFoundation.Discussion.Server 命名空間