DiscussionCommentsController Class
Inheritance Hierarchy
System.Object
System.Web.Http.ApiController
Microsoft.TeamFoundation.Framework.Server.TfsApiController
Microsoft.TeamFoundation.Discussion.Server.DiscussionCommentsController
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
Public Class DiscussionCommentsController _
Inherits TfsApiController
public class DiscussionCommentsController : TfsApiController
public ref class DiscussionCommentsController : public TfsApiController
type DiscussionCommentsController =
class
inherit TfsApiController
end
public class DiscussionCommentsController extends TfsApiController
The DiscussionCommentsController type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DiscussionCommentsController |
Top
Properties
Name | Description | |
---|---|---|
BaseHttpExceptions | (Inherited from TfsApiController.) | |
Configuration | (Inherited from ApiController.) | |
ControllerContext | (Inherited from ApiController.) | |
HttpExceptions | (Inherited from TfsApiController.) | |
ModelState | (Inherited from ApiController.) | |
Request | (Inherited from ApiController.) | |
RequestContext | The Setter is only for Unit testing purposes (Inherited from TfsApiController.) | |
TraceArea | (Inherited from TfsApiController.) | |
Url | (Inherited from ApiController.) | |
User | (Inherited from ApiController.) |
Top
Methods
Name | Description | |
---|---|---|
DeleteComment | Remove a discussion comment DELETE /_apis/discussion/{discussionId}/comments/{commentId} | |
Dispose() | (Inherited from ApiController.) | |
Dispose(Boolean) | (Inherited from ApiController.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteAsync | (Inherited from ApiController.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetComment | Read a comment by id GET /_apis/discussion/{discussionId}/comments/{commentId} | |
GetComments | Read all comments for a discussion thread GET /_apis/discussion/{discussionId}/comments | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | (Inherited from TfsApiController.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostComment | ||
PostComments(VssJsonCollectionWrapper<DiscussionCommentCollection>) | ||
PostComments(Int32, VssJsonCollectionWrapper<DiscussionCommentCollection>) | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateComment |
Top
Extension Methods
Name | Description | |
---|---|---|
GenerateResponse | (Defined by TfsApiControllerExtensions.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.