Edit

Share via


GitHttpClientBase.GetPullRequestThreadAsync Method

Definition

Overloads

GetPullRequestThreadAsync(String, String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(String, Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(Guid, String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(Guid, Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

GetPullRequestThreadAsync(String, String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(string project, string repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : string * string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : string * string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

project
String

Project ID or project name

repositoryId
String

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestThreadAsync(String, Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(string project, Guid repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : string * Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : string * Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

project
String

Project ID or project name

repositoryId
Guid

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestThreadAsync(Guid, String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(Guid project, string repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : Guid * string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : Guid * string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

project
Guid

Project ID

repositoryId
String

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestThreadAsync(String, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(string repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : string * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

repositoryId
String

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestThreadAsync(Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(Guid repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

repositoryId
Guid

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetPullRequestThreadAsync(Guid, Guid, Int32, Int32, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Retrieve a thread in a pull request.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread> GetPullRequestThreadAsync(Guid project, Guid repositoryId, int pullRequestId, int threadId, Nullable<int> iteration = null, Nullable<int> baseIteration = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestThreadAsync : Guid * Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>
override this.GetPullRequestThreadAsync : Guid * Guid * int * int * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitPullRequestCommentThread>

Parameters

project
Guid

Project ID

repositoryId
Guid

The repository ID of the pull request's target branch.

pullRequestId
Int32

ID of the pull request.

threadId
Int32

ID of the thread.

iteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the right side of the diff.

baseIteration
Nullable<Int32>

If specified, thread position will be tracked using this iteration as the left side of the diff.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to