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