Language

IResourceStoreExtensions.GetFile(IResourceStore, SecureFileReference) Method

Definition

Retrieves a secure file from the store using the provided reference.

public static Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile GetFile(this Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore store, Microsoft.TeamFoundation.DistributedTask.Pipelines.SecureFileReference reference);
static member GetFile : Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore * Microsoft.TeamFoundation.DistributedTask.Pipelines.SecureFileReference -> Microsoft.TeamFoundation.DistributedTask.WebApi.SecureFile
<Extension()>
Public Function GetFile (store As IResourceStore, reference As SecureFileReference) As SecureFile

Parameters

store
IResourceStore

The resource store which should be queried

reference
SecureFileReference

The secure file reference which should be resolved

Returns

A SecureFile instance matching the specified reference if found; otherwise, null

Applies to