DiscussionWebService.PublishDiscussions 方法
命名空間: Microsoft.TeamFoundation.Discussion.Server
組件: Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)
語法
'宣告
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
<WebMethodAttribute> _
Public Function PublishDiscussions ( _
discussions As DiscussionThread(), _
comments As Comment(), _
deletedComments As CommentId(), _
<OutAttribute> ByRef commentIds As List(Of Short), _
<OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
[WebMethodAttribute]
public List<int> PublishDiscussions(
DiscussionThread[] discussions,
Comment[] comments,
CommentId[] deletedComments,
out List<short> commentIds,
out DateTime lastUpdatedDate
)
參數
- discussions
型別:array<Microsoft.TeamFoundation.Discussion.Server.DiscussionThread[]
- comments
型別:array<Microsoft.TeamFoundation.Discussion.Server.Comment[]
- 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。