Edit

Share via


BuildHttpClientBase.UpdateFolderAsync Method

Definition

Overloads

UpdateFolderAsync(Folder, Guid, String, Object, CancellationToken)

[Preview API] Updates an existing folder at given existing path

UpdateFolderAsync(Folder, String, String, Object, CancellationToken)

[Preview API] Updates an existing folder at given existing path

UpdateFolderAsync(Folder, Guid, String, Object, CancellationToken)

[Preview API] Updates an existing folder at given existing path

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder> UpdateFolderAsync (Microsoft.TeamFoundation.Build.WebApi.Folder folder, Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
override this.UpdateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>

Parameters

folder
Folder

The new version of the folder.

project
Guid

Project ID

path
String

The full path to the folder.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateFolderAsync(Folder, String, String, Object, CancellationToken)

[Preview API] Updates an existing folder at given existing path

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder> UpdateFolderAsync (Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
override this.UpdateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>

Parameters

folder
Folder

The new version of the folder.

project
String

Project ID or project name

path
String

The full path to the folder.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to