TaskAgentHttpClient.GetSecureFilesByIdsAsync 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
| GetSecureFilesByIdsAsync(Guid, IEnumerable<Guid>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get secure files |
| GetSecureFilesByIdsAsync(String, IEnumerable<Guid>, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get secure files |
GetSecureFilesByIdsAsync(Guid, IEnumerable<Guid>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get secure files
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> GetSecureFilesByIdsAsync(Guid project, System.Collections.Generic.IEnumerable<Guid> secureFileIds, Nullable<bool> includeDownloadTickets = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetSecureFilesByIdsAsync : Guid * seq<Guid> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
Parameters
- project
- Guid
Project ID
- secureFileIds
- IEnumerable<Guid>
A list of secure file Ids
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
GetSecureFilesByIdsAsync(String, IEnumerable<Guid>, Nullable<Boolean>, Object, CancellationToken)
[Preview API] Get secure files
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> GetSecureFilesByIdsAsync(string project, System.Collections.Generic.IEnumerable<Guid> secureFileIds, Nullable<bool> includeDownloadTickets = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
override this.GetSecureFilesByIdsAsync : string * seq<Guid> * 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
- secureFileIds
- IEnumerable<Guid>
A list of secure file Ids
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.