DiscussionCommentsController.DeleteComment Method
Remove a discussion comment DELETE /_apis/discussion/{discussionId}/comments/{commentId}
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
Public Function DeleteComment ( _
discussionId As Integer, _
commentId As Short _
) As HttpResponseMessage
public HttpResponseMessage DeleteComment(
int discussionId,
short commentId
)
public:
HttpResponseMessage^ DeleteComment(
int discussionId,
short commentId
)
member DeleteComment :
discussionId:int *
commentId:int16 -> HttpResponseMessage
public function DeleteComment(
discussionId : int,
commentId : short
) : HttpResponseMessage
Parameters
- discussionId
Type: System.Int32
- commentId
Type: System.Int16
Return Value
Type: System.Net.Http.HttpResponseMessage
.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.