DiscussionCommentsController.PostComments Method (Int32, VssJsonCollectionWrapper<DiscussionCommentCollection>)
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
<HttpPatchAttribute> _
Public Function PostComments ( _
discussionId As Integer, _
newComments As VssJsonCollectionWrapper(Of DiscussionCommentCollection) _
) As HttpResponseMessage
[HttpPatchAttribute]
public HttpResponseMessage PostComments(
int discussionId,
VssJsonCollectionWrapper<DiscussionCommentCollection> newComments
)
[HttpPatchAttribute]
public:
HttpResponseMessage^ PostComments(
int discussionId,
VssJsonCollectionWrapper<DiscussionCommentCollection^>^ newComments
)
[<HttpPatchAttribute>]
member PostComments :
discussionId:int *
newComments:VssJsonCollectionWrapper<DiscussionCommentCollection> -> HttpResponseMessage
public function PostComments(
discussionId : int,
newComments : VssJsonCollectionWrapper<DiscussionCommentCollection>
) : HttpResponseMessage
Parameters
- discussionId
Type: System.Int32
- newComments
Type: Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<DiscussionCommentCollection>
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.