DiscussionWebService.QueryDiscussionsByCodeReviewRequest 方法
命名空間: Microsoft.TeamFoundation.Discussion.Server
組件: Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)
語法
'宣告
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
<WebMethodAttribute> _
Public Function QueryDiscussionsByCodeReviewRequest ( _
workItemId As Integer, _
<OutAttribute> ByRef legacyComments As List(Of LegacyComment), _
<OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of LegacyDiscussionThread)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
[WebMethodAttribute]
public List<LegacyDiscussionThread> QueryDiscussionsByCodeReviewRequest(
int workItemId,
out List<LegacyComment> legacyComments,
out TeamFoundationIdentity[] authors
)
參數
- workItemId
類型:System.Int32
- legacyComments
類型:System.Collections.Generic.List<LegacyComment>%
- authors
類型:array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]%
傳回值
類型:System.Collections.Generic.List<LegacyDiscussionThread>
傳回 List<T>。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱 從部分受信任程式碼使用程式庫。