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
- workItemId
Type: System.Int32
- legacyComments
Type: System.Collections.Generic.List<LegacyComment>%
- authors
Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]%
Return Value
Type: System.Collections.Generic.List<LegacyDiscussionThread>
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.