Delen via


DiscussionCommentsController.PostComment Method

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
Public Function PostComment ( _
    discussionId As Integer, _
    newComment As DiscussionComment _
) As HttpResponseMessage
public HttpResponseMessage PostComment(
    int discussionId,
    DiscussionComment newComment
)
public:
HttpResponseMessage^ PostComment(
    int discussionId, 
    DiscussionComment^ newComment
)
member PostComment : 
        discussionId:int * 
        newComment:DiscussionComment -> HttpResponseMessage
public function PostComment(
    discussionId : int, 
    newComment : DiscussionComment
) : HttpResponseMessage

Parameters

  • newComment
    Type: DiscussionComment

Return Value

Type: System.Net.Http.HttpResponseMessage

.NET Framework Security

See Also

Reference

DiscussionCommentsController Class

Microsoft.TeamFoundation.Discussion.Server Namespace