共用方式為


TeamFoundationDiscussionService.QueryDiscussionsByCodeReviewRequest 方法 (TeamFoundationRequestContext, Int32, List<DiscussionComment>%, array<TeamFoundationIdentity[]%)

命名空間:  Microsoft.TeamFoundation.Discussion.Server
組件:  Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)

語法

'宣告
Public Function QueryDiscussionsByCodeReviewRequest ( _
    requestContext As TeamFoundationRequestContext, _
    workItemId As Integer, _
    <OutAttribute> ByRef comments As List(Of DiscussionComment), _
    <OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of DiscussionThread)
public List<DiscussionThread> QueryDiscussionsByCodeReviewRequest(
    TeamFoundationRequestContext requestContext,
    int workItemId,
    out List<DiscussionComment> comments,
    out TeamFoundationIdentity[] authors
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

TeamFoundationDiscussionService 類別

QueryDiscussionsByCodeReviewRequest 多載

Microsoft.TeamFoundation.Discussion.Server 命名空間