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
- versionUri
Type: System.String
- legacyComments
Type: System.Collections.Generic.List<LegacyComment>%
- authors
Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]%
Return Value
Type: System.Collections.Generic.List<LegacyDiscussionThread>
Returns List<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.