TeamFoundationDiscussionService.PublishDiscussions 方法
命名空间: Microsoft.TeamFoundation.Discussion.Server
程序集: Microsoft.TeamFoundation.Discussion.Server(在 Microsoft.TeamFoundation.Discussion.Server.dll 中)
语法
声明
Public Function PublishDiscussions ( _
requestContext As TeamFoundationRequestContext, _
discussions As DiscussionThread(), _
comments As DiscussionComment(), _
deletedComments As CommentId(), _
<OutAttribute> ByRef commentIds As List(Of Short), _
<OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
public List<int> PublishDiscussions(
TeamFoundationRequestContext requestContext,
DiscussionThread[] discussions,
DiscussionComment[] comments,
CommentId[] deletedComments,
out List<short> commentIds,
out DateTime lastUpdatedDate
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- discussions
类型:array<DiscussionThread[]
- comments
类型:array<DiscussionComment[]
- deletedComments
类型:array<Microsoft.TeamFoundation.Discussion.Server.CommentId[]
- commentIds
类型:System.Collections.Generic.List<Int16>%
- lastUpdatedDate
类型:System.DateTime%
返回值
类型:System.Collections.Generic.List<Int32>
返回 List<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。