PullRequestDiscussionThread.

PullRequestDiscussionThread(int, PullRequestDiscussionStatus, FilePath, IEnumerable<IPullRequestDiscussionComment>) Constructor

Summary

Initializes a new instance of the PullRequestDiscussionThread class.

Syntax

public PullRequestDiscussionThread(int id, PullRequestDiscussionStatus status, FilePath filePath, IEnumerable<IPullRequestDiscussionComment> comments)

Parameters

Name Type Description
id int ID of the discussion thread.
status PullRequestDiscussionStatus A value if the thread is active or already fixed.
filePath FilePath The path to the file where the message should be posted. The path needs to be relative to the repository root. Can be null if discussion is not related to a change in a file.
comments IEnumerable<IPullRequestDiscussionComment> All the comments of this thread.

Return Value

Type Description
void