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