DiscussionWebService.PublishDiscussions-Methode
Namespace: Microsoft.TeamFoundation.Discussion.Server
Assembly: Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)
Syntax
'Declaration
<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
)
Parameter
- legacyDiscussions
Typ: array<Microsoft.TeamFoundation.Discussion.Server.LegacyDiscussionThread[]
- legacyComments
Typ: array<Microsoft.TeamFoundation.Discussion.Server.LegacyComment[]
- deletedComments
Typ: array<Microsoft.TeamFoundation.Discussion.Server.CommentId[]
- commentIds
Typ: System.Collections.Generic.List<Int16>%
- lastUpdatedDate
Typ: System.DateTime%
Rückgabewert
Typ: System.Collections.Generic.List<Int32>
Gibt List<T> zurück.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.