Partager via


DiscussionWebService.QueryDiscussionsByCodeReviewRequest Method

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

Syntax

'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
Public Function QueryDiscussionsByCodeReviewRequest ( _
    workItemId As Integer, _
    <OutAttribute> ByRef legacyComments As List(Of LegacyComment), _
    <OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of LegacyDiscussionThread)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public List<LegacyDiscussionThread> QueryDiscussionsByCodeReviewRequest(
    int workItemId,
    out List<LegacyComment> legacyComments,
    out TeamFoundationIdentity[] authors
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public:
List<LegacyDiscussionThread^>^ QueryDiscussionsByCodeReviewRequest(
    int workItemId, 
    [OutAttribute] List<LegacyComment^>^% legacyComments, 
    [OutAttribute] array<TeamFoundationIdentity^>^% authors
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)>]
member QueryDiscussionsByCodeReviewRequest : 
        workItemId:int * 
        legacyComments:List<LegacyComment> byref * 
        authors:TeamFoundationIdentity[] byref -> List<LegacyDiscussionThread> 
public function QueryDiscussionsByCodeReviewRequest(
    workItemId : int, 
    legacyComments : List<LegacyComment>, 
    authors : TeamFoundationIdentity[]
) : List<LegacyDiscussionThread>

Parameters

Return Value

Type: System.Collections.Generic.List<LegacyDiscussionThread>
Returns List<T>.

.NET Framework Security

See Also

Reference

DiscussionWebService Class

Microsoft.TeamFoundation.Discussion.Server Namespace