BuildHttpClientBase.DeleteDefinitionAsync 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
DeleteDefinitionAsync(String, Int32, Object, CancellationToken) |
[Preview API] Deletes a definition and all associated builds. |
DeleteDefinitionAsync(Int32, Object, CancellationToken) |
Deletes a definition and all associated builds. |
DeleteDefinitionAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Deletes a definition and all associated builds. |
DeleteDefinitionAsync(String, Int32, Object, CancellationToken)
[Preview API] Deletes a definition and all associated builds.
public virtual System.Threading.Tasks.Task DeleteDefinitionAsync (string project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteDefinitionAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteDefinitionAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- String
Project ID or project name
- definitionId
- Int32
The ID of the definition.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
DeleteDefinitionAsync(Int32, Object, CancellationToken)
Deletes a definition and all associated builds.
public virtual System.Threading.Tasks.Task DeleteDefinitionAsync (int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteDefinitionAsync : int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteDefinitionAsync : int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- definitionId
- Int32
The ID of the definition.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
DeleteDefinitionAsync(Guid, Int32, Object, CancellationToken)
[Preview API] Deletes a definition and all associated builds.
public virtual System.Threading.Tasks.Task DeleteDefinitionAsync (Guid project, int definitionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteDefinitionAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteDefinitionAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- Guid
Project ID
- definitionId
- Int32
The ID of the definition.
- 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