Language
Edit

GitHttpClientBase.GetRevertAsync Method

Definition

Overloads

Name Description
GetRevertAsync(Guid, Int32, Guid, Object, CancellationToken)

[Preview API] Retrieve information about a revert operation by revert Id.

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

[Preview API] Retrieve information about a revert operation by revert Id.

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

[Preview API] Retrieve information about a revert operation by revert Id.

GetRevertAsync(String, Int32, String, Object, CancellationToken)

[Preview API] Retrieve information about a revert operation by revert Id.

GetRevertAsync(Guid, Int32, Guid, Object, CancellationToken)

[Preview API] Retrieve information about a revert operation by revert Id.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert> GetRevertAsync(Guid project, int revertId, Guid repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRevertAsync : Guid * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert>
override this.GetRevertAsync : Guid * int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert>

Parameters

project
Guid

Project ID

revertId
Int32

ID of the revert operation.

repositoryId
Guid

ID of the repository.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve information about a revert operation by revert Id.

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

Parameters

project
Guid

Project ID

revertId
Int32

ID of the revert operation.

repositoryId
String

ID of the repository.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

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

[Preview API] Retrieve information about a revert operation by revert Id.

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

Parameters

project
String

Project ID or project name

revertId
Int32

ID of the revert operation.

repositoryId
Guid

ID of the repository.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetRevertAsync(String, Int32, String, Object, CancellationToken)

[Preview API] Retrieve information about a revert operation by revert Id.

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert> GetRevertAsync(string project, int revertId, string repositoryId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRevertAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert>
override this.GetRevertAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitRevert>

Parameters

project
String

Project ID or project name

revertId
Int32

ID of the revert operation.

repositoryId
String

ID of the repository.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to