共用方式為


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 legacyComments As List(Of LegacyComment), _
    <OutAttribute> ByRef authors As TeamFoundationIdentity() _
) As List(Of LegacyDiscussionThread)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public List<LegacyDiscussionThread> QueryDiscussionsByVersion(
    string versionUri,
    out List<LegacyComment> legacyComments,
    out TeamFoundationIdentity[] authors
)

參數

傳回值

類型:System.Collections.Generic.List<LegacyDiscussionThread>
傳回 List<T>

.NET Framework 安全性

請參閱

參考

DiscussionWebService 類別

Microsoft.TeamFoundation.Discussion.Server 命名空間