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
- discussionId
Type: System.Int32
- newComment
Type: DiscussionComment
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.