Bearbeiten

Freigeben über


TaskAgentHttpClient.GetSecureFilesAsync Method

Definition

Overloads

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.

includeDownloadTickets
Nullable<Boolean>

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.

includeDownloadTickets
Nullable<Boolean>

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