Share via


DiscussionWebService.PublishDiscussions 方法

命名空间:  Microsoft.TeamFoundation.Discussion.Server
程序集:  Microsoft.TeamFoundation.Discussion.Server(在 Microsoft.TeamFoundation.Discussion.Server.dll 中)

语法

声明
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
Public Function PublishDiscussions ( _
    legacyDiscussions As LegacyDiscussionThread(), _
    legacyComments As LegacyComment(), _
    deletedComments As CommentId(), _
    <OutAttribute> ByRef commentIds As List(Of Short), _
    <OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public List<int> PublishDiscussions(
    LegacyDiscussionThread[] legacyDiscussions,
    LegacyComment[] legacyComments,
    CommentId[] deletedComments,
    out List<short> commentIds,
    out DateTime lastUpdatedDate
)

参数

返回值

类型:System.Collections.Generic.List<Int32>
返回 List<T>

.NET Framework 安全性

请参阅

参考

DiscussionWebService 类

Microsoft.TeamFoundation.Discussion.Server 命名空间