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
- versionUri
Type: System.String
- comments
Type: System.Collections.Generic.List<Comment>%
- authors
Type: array<Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity[]%
Return Value
Type: System.Collections.Generic.List<DiscussionThread>
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.