DiscussionWebService.PublishDiscussions Method
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
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public:
List<int>^ PublishDiscussions(
array<LegacyDiscussionThread^>^ legacyDiscussions,
array<LegacyComment^>^ legacyComments,
array<CommentId^>^ deletedComments,
[OutAttribute] List<short>^% commentIds,
[OutAttribute] DateTime% lastUpdatedDate
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)>]
member PublishDiscussions :
legacyDiscussions:LegacyDiscussionThread[] *
legacyComments:LegacyComment[] *
deletedComments:CommentId[] *
commentIds:List<int16> byref *
lastUpdatedDate:DateTime byref -> List<int>
public function PublishDiscussions(
legacyDiscussions : LegacyDiscussionThread[],
legacyComments : LegacyComment[],
deletedComments : CommentId[],
commentIds : List<short>,
lastUpdatedDate : DateTime
) : List<int>
Parameters
- legacyDiscussions
Type: array<Microsoft.TeamFoundation.Discussion.Server.LegacyDiscussionThread[]
- legacyComments
Type: array<Microsoft.TeamFoundation.Discussion.Server.LegacyComment[]
- deletedComments
Type: array<Microsoft.TeamFoundation.Discussion.Server.CommentId[]
- commentIds
Type: System.Collections.Generic.List<Int16>%
- lastUpdatedDate
Type: System.DateTime%
Return Value
Type: System.Collections.Generic.List<Int32>
Returns List<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.