BuildHttpClientBase.AddDefinitionTagAsync 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
AddDefinitionTagAsync(String, Int32, String, Object, CancellationToken) |
[Preview API] Adds a tag to a definition |
AddDefinitionTagAsync(Guid, Int32, String, Object, CancellationToken) |
[Preview API] Adds a tag to a definition |
AddDefinitionTagAsync(String, Int32, String, Object, CancellationToken)
[Preview API] Adds a tag to a definition
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> AddDefinitionTagAsync (string project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddDefinitionTagAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.AddDefinitionTagAsync : string * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
Parameters
- project
- String
Project ID or project name
- definitionId
- Int32
The ID of the definition.
- tag
- String
The tag to add.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
AddDefinitionTagAsync(Guid, Int32, String, Object, CancellationToken)
[Preview API] Adds a tag to a definition
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> AddDefinitionTagAsync (Guid project, int definitionId, string tag, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddDefinitionTagAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.AddDefinitionTagAsync : Guid * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
Parameters
- project
- Guid
Project ID
- definitionId
- Int32
The ID of the definition.
- tag
- String
The tag to add.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for