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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- workItemId
類型:System.Int32
- comments
類型:System.Collections.Generic.List<DiscussionComment>%
- authors
類型:array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]%
傳回值
類型:System.Collections.Generic.List<DiscussionThread>
傳回 List<T>。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
TeamFoundationDiscussionService 類別