TaskAgentHttpClientBase.QuerySecureFilesByPropertiesAsync 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
| QuerySecureFilesByPropertiesAsync(Guid, String, String, Object, CancellationToken) |
[Preview API] Query secure files using a name pattern and a condition on file properties. |
| QuerySecureFilesByPropertiesAsync(String, String, String, Object, CancellationToken) |
[Preview API] Query secure files using a name pattern and a condition on file properties. |
QuerySecureFilesByPropertiesAsync(Guid, String, String, Object, CancellationToken)
[Preview API] Query secure files using a name pattern and a condition on file properties.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> QuerySecureFilesByPropertiesAsync(Guid project, string condition, string namePattern = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QuerySecureFilesByPropertiesAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
override this.QuerySecureFilesByPropertiesAsync : Guid * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
Parameters
- project
- Guid
Project ID
- condition
- String
The main condition syntax is described here. Use the property('property-name') function to access the value of the specified property of a secure file. It returns null if the property is not set. E.g. and( eq( property('devices'), '2' ), in( property('provisioning profile type'), 'ad hoc', 'development' ) )
- namePattern
- String
Name of the secure file to match. Can include wildcards to match multiple files.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
QuerySecureFilesByPropertiesAsync(String, String, String, Object, CancellationToken)
[Preview API] Query secure files using a name pattern and a condition on file properties.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>> QuerySecureFilesByPropertiesAsync(string project, string condition, string namePattern = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QuerySecureFilesByPropertiesAsync : string * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile>>
override this.QuerySecureFilesByPropertiesAsync : string * string * string * 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
- condition
- String
The main condition syntax is described here. Use the property('property-name') function to access the value of the specified property of a secure file. It returns null if the property is not set. E.g. and( eq( property('devices'), '2' ), in( property('provisioning profile type'), 'ad hoc', 'development' ) )
- namePattern
- String
Name of the secure file to match. Can include wildcards to match multiple files.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.