Edit

GitHttpClientBase.GetChangesAsync Method

Definition

Overloads

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

commitId
String

The id of the commit.

repositoryId
Guid

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

commitId
String

The id of the commit.

repositoryId
String

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

project
Guid

Project ID

commitId
String

The id of the commit.

repositoryId
Guid

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

project
Guid

Project ID

commitId
String

The id of the commit.

repositoryId
String

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

project
String

Project ID or project name

commitId
String

The id of the commit.

repositoryId
Guid

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve changes for a particular commit.

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

Parameters

project
String

Project ID or project name

commitId
String

The id of the commit.

repositoryId
String

The id or friendly name of the repository. To use the friendly name, projectId must also be specified.

top
Nullable<Int32>

The maximum number of changes to return.

skip
Nullable<Int32>

The number of changes to skip.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to