Share via


DiscussionThread.AddComment Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddComment(Comment, Comment) Adds a given comment to this discussion. An exception will be thrown if: 1. The parentComment is null but: a. The discussion has a root comment. b. The discussion is already deleted. 2. The parentComment has not yet been published to the server.
Public method AddComment(TeamFoundationIdentity, CommentType, String, Comment) Adds a new comment to this discussion. An exception will be thrown if: 1. The parentComment is null but: a. The discussion has a root comment. b. The discussion is already deleted. 2. The parentComment has not yet been published to the server.

Top

See Also

Reference

DiscussionThread Class

Microsoft.TeamFoundation.Discussion.Client Namespace