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
- discussionId
Type: System.Int32
Return Value
Type: 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.