Edit

Share via


GitHttpClientBase.GetPullRequestPropertiesAsync Method

Definition

Overloads

GetPullRequestPropertiesAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(Guid, String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(String, Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(String, String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(Guid, Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

GetPullRequestPropertiesAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

repositoryId
Guid

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

GetPullRequestPropertiesAsync(String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

repositoryId
String

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

GetPullRequestPropertiesAsync(Guid, String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(Guid project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : Guid * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

project
Guid

Project ID

repositoryId
String

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

GetPullRequestPropertiesAsync(String, Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(string project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : string * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

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.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

GetPullRequestPropertiesAsync(String, String, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(string project, string repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : string * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

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.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

GetPullRequestPropertiesAsync(Guid, Guid, Int32, Object, CancellationToken)

[Preview API] Get external properties of the pull request.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> GetPullRequestPropertiesAsync(Guid project, Guid repositoryId, int pullRequestId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetPullRequestPropertiesAsync : Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.GetPullRequestPropertiesAsync : Guid * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

project
Guid

Project ID

repositoryId
Guid

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

pullRequestId
Int32

ID of the pull request.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to