Edit

Share via


GitPullRequestCommentThreadContext Class

Definition

Comment thread context contains details about what diffs were being viewed at the time of thread creation and whether or not the thread has been tracked from that original diff.

[System.Runtime.Serialization.DataContract]
public class GitPullRequestCommentThreadContext : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type GitPullRequestCommentThreadContext = class
    inherit VersionControlSecuredObject
Public Class GitPullRequestCommentThreadContext
Inherits VersionControlSecuredObject
Inheritance
GitPullRequestCommentThreadContext
Attributes

Constructors

GitPullRequestCommentThreadContext()

Properties

ChangeTrackingId

Used to track a comment across iterations. This value can be found by looking at the iteration's changes list. Must be set for pull requests with iteration support. Otherwise, it's not required for 'legacy' pull requests.

IterationContext

The iteration context being viewed when the thread was created.

TrackingCriteria

The criteria used to track this thread. If this property is filled out when the thread is returned, then the thread has been tracked from its original location using the given criteria.

Methods

SetSecuredObject(ISecuredObject)

Explicit Interface Implementations

ISecuredObject.GetToken() (Inherited from VersionControlSecuredObject)
ISecuredObject.NamespaceId (Inherited from VersionControlSecuredObject)
ISecuredObject.RequiredPermissions (Inherited from VersionControlSecuredObject)

Applies to