TeamFoundationDiscussionService.QueryDiscussionsByCodeReviewRequest Method (TeamFoundationRequestContext, Int32, List<DiscussionComment>%, array<TeamFoundationIdentity %)
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
Public Function QueryDiscussionsByCodeReviewRequest ( _
requestContext As TeamFoundationRequestContext, _
workItemId As Integer, _
<OutAttribute> ByRef comments As List(Of DiscussionComment), _
<OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of DiscussionThread)
public List<DiscussionThread> QueryDiscussionsByCodeReviewRequest(
TeamFoundationRequestContext requestContext,
int workItemId,
out List<DiscussionComment> comments,
out TeamFoundationIdentity[] authors
)
public:
List<DiscussionThread^>^ QueryDiscussionsByCodeReviewRequest(
TeamFoundationRequestContext^ requestContext,
int workItemId,
[OutAttribute] List<DiscussionComment^>^% comments,
[OutAttribute] array<TeamFoundationIdentity^>^% authors
)
member QueryDiscussionsByCodeReviewRequest :
requestContext:TeamFoundationRequestContext *
workItemId:int *
comments:List<DiscussionComment> byref *
authors:TeamFoundationIdentity[] byref -> List<DiscussionThread>
public function QueryDiscussionsByCodeReviewRequest(
requestContext : TeamFoundationRequestContext,
workItemId : int,
comments : List<DiscussionComment>,
authors : TeamFoundationIdentity[]
) : List<DiscussionThread>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- workItemId
Type: System.Int32
- comments
Type: System.Collections.Generic.List<DiscussionComment>%
- authors
Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]%
Return Value
Type: System.Collections.Generic.List<DiscussionThread>
Returns List<T>.
.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.
See Also
Reference
TeamFoundationDiscussionService Class