This documentation is archived and is not being maintained.

DiscussionCommentsController Class

Visual Studio 2013

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)

'Declaration
Public Class DiscussionCommentsController _
	Inherits TfsApiController

The DiscussionCommentsController type exposes the following members.

  NameDescription
Public propertyBaseHttpExceptions (Inherited from TfsApiController.)
Public propertyConfiguration (Inherited from ApiController.)
Public propertyControllerContext (Inherited from ApiController.)
Public propertyHttpExceptions (Inherited from TfsApiController.)
Public propertyModelState (Inherited from ApiController.)
Public propertyRequest (Inherited from ApiController.)
Public propertyRequestContextThe Setter is only for Unit testing purposes (Inherited from TfsApiController.)
Public propertyTraceArea (Inherited from TfsApiController.)
Public propertyUrl (Inherited from ApiController.)
Public propertyUser (Inherited from ApiController.)
Top

  NameDescription
Public methodDeleteCommentRemove a discussion comment DELETE /_apis/discussion/{discussionId}/comments/{commentId}
Public methodDispose (Inherited from ApiController.)
Protected methodDispose(Boolean) (Inherited from ApiController.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecuteAsync (Inherited from ApiController.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetCommentRead a comment by id GET /_apis/discussion/{discussionId}/comments/{commentId}
Public methodGetCommentsRead all comments for a discussion thread GET /_apis/discussion/{discussionId}/comments
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize (Inherited from TfsApiController.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPostComment
Public methodPostComments(VssJsonCollectionWrapper(Of DiscussionCommentCollection))
Public methodPostComments(Int32, VssJsonCollectionWrapper(Of DiscussionCommentCollection))
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateComment
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: