Language
Edit

GitHttpClientBase.GetStatusesAsync Method

Definition

Overloads

Name Description
GetStatusesAsync(String, String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(Guid, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(Guid, String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

GetStatusesAsync(String, String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(string project, string commitId, Guid repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : string * string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : string * string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

project
String

Project ID or project name

commitId
String

ID of the Git commit.

repositoryId
Guid

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetStatusesAsync(Guid, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(Guid project, string commitId, string repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : Guid * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : Guid * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

project
Guid

Project ID

commitId
String

ID of the Git commit.

repositoryId
String

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetStatusesAsync(String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(string project, string commitId, string repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : string * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : string * string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

project
String

Project ID or project name

commitId
String

ID of the Git commit.

repositoryId
String

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetStatusesAsync(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(string commitId, string repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : string * string * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

commitId
String

ID of the Git commit.

repositoryId
String

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetStatusesAsync(String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(string commitId, Guid repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

commitId
String

ID of the Git commit.

repositoryId
Guid

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetStatusesAsync(Guid, String, Guid, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Get statuses associated with the Git commit.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>> GetStatusesAsync(Guid project, string commitId, Guid repositoryId, Nullable<int> top = null, Nullable<int> skip = null, Nullable<bool> latestOnly = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetStatusesAsync : Guid * string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>
override this.GetStatusesAsync : Guid * string * Guid * Nullable<int> * Nullable<int> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitStatus>>

Parameters

project
Guid

Project ID

commitId
String

ID of the Git commit.

repositoryId
Guid

ID of the repository.

top
Nullable<Int32>

Optional. The number of statuses to retrieve. Default is 1000.

skip
Nullable<Int32>

Optional. The number of statuses to ignore. Default is 0. For example, to retrieve results 101-150, set top to 50 and skip to 100.

latestOnly
Nullable<Boolean>

The flag indicates whether to get only latest statuses grouped by Context.Name and Context.Genre.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to