Share via


DiscussionWebService.QueryDiscussionsByVersion Method

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

Syntax

'Declaration
<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
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public:
List<DiscussionThread^>^ QueryDiscussionsByVersion(
    String^ versionUri, 
    [OutAttribute] List<Comment^>^% comments, 
    [OutAttribute] array<TeamFoundationIdentity^>^% authors
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)>]
member QueryDiscussionsByVersion : 
        versionUri:string * 
        comments:List<Comment> byref * 
        authors:TeamFoundationIdentity[] byref -> List<DiscussionThread> 
public function QueryDiscussionsByVersion(
    versionUri : String, 
    comments : List<Comment>, 
    authors : TeamFoundationIdentity[]
) : List<DiscussionThread>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DiscussionWebService Class

Microsoft.TeamFoundation.Discussion.Server Namespace