DiscussionCommentsController.PostComments 方法 (Int32, VssJsonCollectionWrapper<DiscussionCommentCollection>)
命名空间: Microsoft.TeamFoundation.Discussion.Server
程序集: Microsoft.TeamFoundation.Discussion.Server(在 Microsoft.TeamFoundation.Discussion.Server.dll 中)
语法
声明
<HttpPatchAttribute> _
Public Function PostComments ( _
discussionId As Integer, _
newComments As VssJsonCollectionWrapper(Of DiscussionCommentCollection) _
) As HttpResponseMessage
[HttpPatchAttribute]
public HttpResponseMessage PostComments(
int discussionId,
VssJsonCollectionWrapper<DiscussionCommentCollection> newComments
)
参数
- discussionId
类型:System.Int32
- newComments
类型:Microsoft.VisualStudio.Services.WebApi.VssJsonCollectionWrapper<DiscussionCommentCollection>
返回值
类型:System.Net.Http.HttpResponseMessage
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。