TaskAgentHttpClient.GetSecureFilesAsync 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
| GetSecureFilesAsync(Guid, String, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get secure files |
| GetSecureFilesAsync(String, String, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get secure files |
GetSecureFilesAsync(Guid, String, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get secure files
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> GetSecureFilesAsync(Guid project, string namePattern = null, Nullable<bool> includeDownloadTickets = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetSecureFilesAsync : Guid * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
Parameters
- project
- Guid
Project ID
- namePattern
- String
Name of the secure file to match. Can include wildcards to match multiple files.
If includeDownloadTickets is true and the caller has permissions, a download ticket for each secure file is included in the response.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetSecureFilesAsync(String, String, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get secure files
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> GetSecureFilesAsync(string project, string namePattern = null, Nullable<bool> includeDownloadTickets = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetSecureFilesAsync : string * string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
Parameters
- project
- String
Project ID or project name
- namePattern
- String
Name of the secure file to match. Can include wildcards to match multiple files.
If includeDownloadTickets is true and the caller has permissions, a download ticket for each secure file is included in the response.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.