Share via


TeamFoundationDiscussionService.PublishDiscussions Method

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
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
)
public:
List<int>^ PublishDiscussions(
    TeamFoundationRequestContext^ requestContext, 
    array<DiscussionThread^>^ discussions, 
    array<DiscussionComment^>^ comments, 
    array<CommentId^>^ deletedComments, 
    [OutAttribute] List<short>^% commentIds, 
    [OutAttribute] DateTime% lastUpdatedDate
)
member PublishDiscussions : 
        requestContext:TeamFoundationRequestContext * 
        discussions:DiscussionThread[] * 
        comments:DiscussionComment[] * 
        deletedComments:CommentId[] * 
        commentIds:List<int16> byref * 
        lastUpdatedDate:DateTime byref -> List<int> 
public function PublishDiscussions(
    requestContext : TeamFoundationRequestContext, 
    discussions : DiscussionThread[], 
    comments : DiscussionComment[], 
    deletedComments : CommentId[], 
    commentIds : List<short>, 
    lastUpdatedDate : DateTime
) : List<int>

Parameters

  • discussions
    Type: array<DiscussionThread[]
  • comments
    Type: array<DiscussionComment[]

Return Value

Type: System.Collections.Generic.List<Int32>
Returns List<T>.

.NET Framework Security

See Also

Reference

TeamFoundationDiscussionService Class

Microsoft.TeamFoundation.Discussion.Server Namespace