GitHttpClientBase.DeleteRefFavoriteAsync 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 |
|---|---|
| DeleteRefFavoriteAsync(String, Int32, Object, CancellationToken) |
[Preview API] Deletes the refs favorite specified |
| DeleteRefFavoriteAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] Deletes the refs favorite specified |
DeleteRefFavoriteAsync(String, Int32, Object, CancellationToken)
[Preview API] Deletes the refs favorite specified
public virtual System.Threading.Tasks.Task DeleteRefFavoriteAsync(string project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteRefFavoriteAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteRefFavoriteAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- String
Project ID or project name
- favoriteId
- Int32
The Id of the ref favorite to delete.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
DeleteRefFavoriteAsync(Guid, Int32, Object, CancellationToken)
[Preview API] Deletes the refs favorite specified
public virtual System.Threading.Tasks.Task DeleteRefFavoriteAsync(Guid project, int favoriteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteRefFavoriteAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteRefFavoriteAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- Guid
Project ID
- favoriteId
- Int32
The Id of the ref favorite to delete.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.