TeamFoundationDiscussionService.QueryDiscussionsByArtifactUri Method (TeamFoundationRequestContext, String, List<DiscussionComment>%)
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) _
) As List(Of DiscussionThread)
public List<DiscussionThread> QueryDiscussionsByArtifactUri(
TeamFoundationRequestContext requestContext,
string artifactUri,
out List<DiscussionComment> comments
)
public:
List<DiscussionThread^>^ QueryDiscussionsByArtifactUri(
TeamFoundationRequestContext^ requestContext,
String^ artifactUri,
[OutAttribute] List<DiscussionComment^>^% comments
)
member QueryDiscussionsByArtifactUri :
requestContext:TeamFoundationRequestContext *
artifactUri:string *
comments:List<DiscussionComment> byref -> List<DiscussionThread>
public function QueryDiscussionsByArtifactUri(
requestContext : TeamFoundationRequestContext,
artifactUri : String,
comments : List<DiscussionComment>
) : List<DiscussionThread>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- artifactUri
Type: System.String
- comments
Type: System.Collections.Generic.List<DiscussionComment>%
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.
See Also
Reference
TeamFoundationDiscussionService Class