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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- discussionId
Type: System.Int32
- comments
Type: System.Collections.Generic.List<DiscussionComment>%
Return Value
Type: DiscussionThread
Returns 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.