Partager via


DiscussionThreadsController.GetThread Method

Read a discussion thread by id GET /_apis/discussion/threads/{discussionId}

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

Syntax

'Declaration
Public Function GetThread ( _
    discussionId As Integer _
) As DiscussionThread
public DiscussionThread GetThread(
    int discussionId
)
public:
DiscussionThread^ GetThread(
    int discussionId
)
member GetThread : 
        discussionId:int -> DiscussionThread
public function GetThread(
    discussionId : int
) : DiscussionThread

Parameters

Return Value

Type: DiscussionThread

.NET Framework Security

See Also

Reference

DiscussionThreadsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace