Delen via


TeamFoundationDiscussionService.QueryDiscussionsByCodeReviewRequest Method (TeamFoundationRequestContext, Int32, List<DiscussionComment>%)

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
Public Function QueryDiscussionsByCodeReviewRequest ( _
    requestContext As TeamFoundationRequestContext, _
    workItemId As Integer, _
    <OutAttribute> ByRef comments As List(Of DiscussionComment) _
) As List(Of DiscussionThread)
public List<DiscussionThread> QueryDiscussionsByCodeReviewRequest(
    TeamFoundationRequestContext requestContext,
    int workItemId,
    out List<DiscussionComment> comments
)
public:
List<DiscussionThread^>^ QueryDiscussionsByCodeReviewRequest(
    TeamFoundationRequestContext^ requestContext, 
    int workItemId, 
    [OutAttribute] List<DiscussionComment^>^% comments
)
member QueryDiscussionsByCodeReviewRequest : 
        requestContext:TeamFoundationRequestContext * 
        workItemId:int * 
        comments:List<DiscussionComment> byref -> List<DiscussionThread> 
public function QueryDiscussionsByCodeReviewRequest(
    requestContext : TeamFoundationRequestContext, 
    workItemId : int, 
    comments : List<DiscussionComment>
) : List<DiscussionThread>

Parameters

Return Value

Type: System.Collections.Generic.List<DiscussionThread>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationDiscussionService Class

QueryDiscussionsByCodeReviewRequest Overload

Microsoft.TeamFoundation.Discussion.Server Namespace