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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DiscussionWebService Class

Microsoft.TeamFoundation.Discussion.Server Namespace