Partager via


TeamFoundationDiscussionService.QueryDiscussionsByArtifactUri Method (TeamFoundationRequestContext, String, List<DiscussionComment>%, array<TeamFoundationIdentity %)

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
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
)
public:
List<DiscussionThread^>^ QueryDiscussionsByArtifactUri(
    TeamFoundationRequestContext^ requestContext, 
    String^ artifactUri, 
    [OutAttribute] List<DiscussionComment^>^% comments, 
    [OutAttribute] array<TeamFoundationIdentity^>^% authors
)
member QueryDiscussionsByArtifactUri : 
        requestContext:TeamFoundationRequestContext * 
        artifactUri:string * 
        comments:List<DiscussionComment> byref * 
        authors:TeamFoundationIdentity[] byref -> List<DiscussionThread> 
public function QueryDiscussionsByArtifactUri(
    requestContext : TeamFoundationRequestContext, 
    artifactUri : String, 
    comments : List<DiscussionComment>, 
    authors : TeamFoundationIdentity[]
) : List<DiscussionThread>

Parameters

Return Value

Type: System.Collections.Generic.List<DiscussionThread>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationDiscussionService Class

QueryDiscussionsByArtifactUri Overload

Microsoft.TeamFoundation.Discussion.Server Namespace