Edit

Share via


TfvcHttpClientBase.GetItemsAsync Method

Definition

Overloads

GetItemsAsync(String, Nullable<VersionControlRecursionType>, Nullable<Boolean>, TfvcVersionDescriptor, Object, CancellationToken)

[Preview API] Get a list of Tfvc items

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>> GetItemsAsync(string scopePath = null, Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> recursionLevel = null, Nullable<bool> includeLinks = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsAsync : string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>
override this.GetItemsAsync : string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>

Parameters

scopePath
String

Version control path of a folder to return multiple items.

recursionLevel
Nullable<VersionControlRecursionType>

None (just the item), or OneLevel (contents of a folder).

includeLinks
Nullable<Boolean>

True to include links.

versionDescriptor
TfvcVersionDescriptor
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsAsync(Guid, String, Nullable<VersionControlRecursionType>, Nullable<Boolean>, TfvcVersionDescriptor, Object, CancellationToken)

[Preview API] Get a list of Tfvc items

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>> GetItemsAsync(Guid project, string scopePath = null, Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> recursionLevel = null, Nullable<bool> includeLinks = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>
override this.GetItemsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>

Parameters

project
Guid

Project ID

scopePath
String

Version control path of a folder to return multiple items.

recursionLevel
Nullable<VersionControlRecursionType>

None (just the item), or OneLevel (contents of a folder).

includeLinks
Nullable<Boolean>

True to include links.

versionDescriptor
TfvcVersionDescriptor
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetItemsAsync(String, String, Nullable<VersionControlRecursionType>, Nullable<Boolean>, TfvcVersionDescriptor, Object, CancellationToken)

[Preview API] Get a list of Tfvc items

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>> GetItemsAsync(string project, string scopePath = null, Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> recursionLevel = null, Nullable<bool> includeLinks = null, Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor versionDescriptor = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetItemsAsync : string * string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>
override this.GetItemsAsync : string * string * Nullable<Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlRecursionType> * Nullable<bool> * Microsoft.TeamFoundation.SourceControl.WebApi.TfvcVersionDescriptor * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.TfvcItem>>

Parameters

project
String

Project ID or project name

scopePath
String

Version control path of a folder to return multiple items.

recursionLevel
Nullable<VersionControlRecursionType>

None (just the item), or OneLevel (contents of a folder).

includeLinks
Nullable<Boolean>

True to include links.

versionDescriptor
TfvcVersionDescriptor
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to