DiscussionThread Methods

Include Protected Members
Include Inherited Members

The DiscussionThread type exposes the following members.

Methods

  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.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

See Also

Reference

DiscussionThread Class

Microsoft.TeamFoundation.Discussion.Client Namespace