Поделиться через


DiscussionThreadsController.GetThreads Method (Int32)

Query discussion threads by work item id GET /_apis/discussion/threads?workItemId={workItemId}

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

Syntax

'Declaration
Public Function GetThreads ( _
    workItemId As Integer _
) As IList(Of DiscussionThread)
public IList<DiscussionThread> GetThreads(
    int workItemId
)
public:
IList<DiscussionThread^>^ GetThreads(
    int workItemId
)
member GetThreads : 
        workItemId:int -> IList<DiscussionThread> 
public function GetThreads(
    workItemId : int
) : IList<DiscussionThread>

Parameters

Return Value

Type: System.Collections.Generic.IList<DiscussionThread>

.NET Framework Security

See Also

Reference

DiscussionThreadsController Class

GetThreads Overload

Microsoft.TeamFoundation.Discussion.Server Namespace