Partager via


TeamFoundationDiscussionService.QueryDiscussionsById Method

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

Syntax

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

Parameters

Return Value

Type: DiscussionThread
Returns DiscussionThread.

.NET Framework Security

See Also

Reference

TeamFoundationDiscussionService Class

Microsoft.TeamFoundation.Discussion.Server Namespace