共用方式為


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
)

參數

傳回值

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

Implements

ITeamFoundationDiscussionService.QueryDiscussionsByArtifactUri(TeamFoundationRequestContext, String, List<DiscussionComment>%, array<TeamFoundationIdentity[]%)

.NET Framework 安全性

請參閱

參考

TeamFoundationDiscussionService 類別

QueryDiscussionsByArtifactUri 多載

Microsoft.TeamFoundation.Discussion.Server 命名空間