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
- workItemId
Type: System.Int32
Return Value
Type: System.Collections.Generic.IList<DiscussionThread>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.