Edit

Share via


BuildHttpClientBase.AddBuildTagAsync Method

Definition

Overloads

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

[Preview API] Adds a tag to a build.

AddBuildTagAsync(String, Int32, String, Object, CancellationToken)

[Preview API] Adds a tag to a build.

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

[Preview API] Adds a tag to a build.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> AddBuildTagAsync (Guid project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddBuildTagAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.AddBuildTagAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>

Parameters

project
Guid

Project ID

buildId
Int32

The ID of the build.

tag
String

The tag to add.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

AddBuildTagAsync(String, Int32, String, Object, CancellationToken)

[Preview API] Adds a tag to a build.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> AddBuildTagAsync (string project, int buildId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddBuildTagAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.AddBuildTagAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>

Parameters

project
String

Project ID or project name

buildId
Int32

The ID of the build.

tag
String

The tag to add.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to