GitHttpClientBase.GetAnnotatedTagAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetAnnotatedTagAsync(Guid, Guid, String, Object, CancellationToken) |
[Preview API] Get an annotated tag. |
| GetAnnotatedTagAsync(Guid, String, String, Object, CancellationToken) |
[Preview API] Get an annotated tag. |
| GetAnnotatedTagAsync(String, Guid, String, Object, CancellationToken) |
[Preview API] Get an annotated tag. |
| GetAnnotatedTagAsync(String, String, String, Object, CancellationToken) |
[Preview API] Get an annotated tag. |
GetAnnotatedTagAsync(Guid, Guid, String, Object, CancellationToken)
[Preview API] Get an annotated tag.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag> GetAnnotatedTagAsync(Guid project, Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAnnotatedTagAsync : Guid * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
override this.GetAnnotatedTagAsync : Guid * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
Parameters
- project
- Guid
Project ID
- repositoryId
- Guid
ID or name of the repository.
- objectId
- String
ObjectId (Sha1Id) of tag to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetAnnotatedTagAsync(Guid, String, String, Object, CancellationToken)
[Preview API] Get an annotated tag.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag> GetAnnotatedTagAsync(Guid project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAnnotatedTagAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
override this.GetAnnotatedTagAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
Parameters
- project
- Guid
Project ID
- repositoryId
- String
ID or name of the repository.
- objectId
- String
ObjectId (Sha1Id) of tag to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetAnnotatedTagAsync(String, Guid, String, Object, CancellationToken)
[Preview API] Get an annotated tag.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag> GetAnnotatedTagAsync(string project, Guid repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAnnotatedTagAsync : string * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
override this.GetAnnotatedTagAsync : string * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
Parameters
- project
- String
Project ID or project name
- repositoryId
- Guid
ID or name of the repository.
- objectId
- String
ObjectId (Sha1Id) of tag to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetAnnotatedTagAsync(String, String, String, Object, CancellationToken)
[Preview API] Get an annotated tag.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag> GetAnnotatedTagAsync(string project, string repositoryId, string objectId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAnnotatedTagAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
override this.GetAnnotatedTagAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitAnnotatedTag>
Parameters
- project
- String
Project ID or project name
- repositoryId
- String
ID or name of the repository.
- objectId
- String
ObjectId (Sha1Id) of tag to get.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.