BuildHttpClientBase.CreateFolderAsync 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
| CreateFolderAsync(Folder, Guid, String, Object, CancellationToken) |
[Preview API] Creates a new folder. |
| CreateFolderAsync(Folder, String, String, Object, CancellationToken) |
[Preview API] Creates a new folder. |
CreateFolderAsync(Folder, Guid, String, Object, CancellationToken)
[Preview API] Creates a new folder.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder> CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, Guid project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
override this.CreateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * Guid * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
Parameters
- folder
- Folder
The folder.
- project
- Guid
Project ID
- path
- String
The full path of the folder.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
CreateFolderAsync(Folder, String, String, Object, CancellationToken)
[Preview API] Creates a new folder.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder> CreateFolderAsync(Microsoft.TeamFoundation.Build.WebApi.Folder folder, string project, string path, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
override this.CreateFolderAsync : Microsoft.TeamFoundation.Build.WebApi.Folder * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Folder>
Parameters
- folder
- Folder
The folder.
- project
- String
Project ID or project name
- path
- String
The full path of the folder.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.