Language
Edit

GitCompatHttpClientBase.GetRepositoriesAsync Method

Definition

Overloads

Name Description
GetRepositoriesAsync(String, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Guid, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Guid, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)
Obsolete.

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Guid, Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(String, Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

GetRepositoriesAsync(String, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve git repositories.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(string project, Nullable<bool> includeLinks, Nullable<bool> includeAllUrls, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRepositoriesAsync : string * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : string * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

project
String

Project ID or project name

includeLinks
Nullable<Boolean>
includeAllUrls
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetRepositoriesAsync(Guid, Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve git repositories.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Guid project, Nullable<bool> includeLinks, Nullable<bool> includeAllUrls, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRepositoriesAsync : Guid * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Guid * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

project
Guid

Project ID

includeLinks
Nullable<Boolean>
includeAllUrls
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetRepositoriesAsync(String, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(string project, Nullable<bool> includeLinks, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetRepositoriesAsync : string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : string * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

project
String

Project ID or project name

includeLinks
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetRepositoriesAsync(Guid, Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Guid project, Nullable<bool> includeLinks, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetRepositoriesAsync : Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Guid * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

project
Guid

Project ID

includeLinks
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetRepositoriesAsync(Nullable<Boolean>, Nullable<Boolean>, Object, CancellationToken)

Caution

This API is now deprecated.

[Preview API] Retrieve git repositories.

[System.Obsolete]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Nullable<bool> includeLinks, Nullable<bool> includeAllUrls, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetRepositoriesAsync : Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

includeLinks
Nullable<Boolean>
includeAllUrls
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

GetRepositoriesAsync(Nullable<Boolean>, Object, CancellationToken)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Nullable<bool> includeLinks, object userState, System.Threading.CancellationToken cancellationToken);
abstract member GetRepositoriesAsync : Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>

Parameters

includeLinks
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetRepositoriesAsync(Guid, Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Guid project, Nullable<bool> includeLinks, object userState);
abstract member GetRepositoriesAsync : Guid * Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Guid * Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
Public Overridable Function GetRepositoriesAsync (project As Guid, includeLinks As Nullable(Of Boolean), userState As Object) As Task(Of List(Of GitRepository))

Parameters

project
Guid

Project ID

includeLinks
Nullable<Boolean>
userState
Object

Returns

Applies to

GetRepositoriesAsync(Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(Nullable<bool> includeLinks, object userState);
abstract member GetRepositoriesAsync : Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
Public Overridable Function GetRepositoriesAsync (includeLinks As Nullable(Of Boolean), userState As Object) As Task(Of List(Of GitRepository))

Parameters

includeLinks
Nullable<Boolean>
userState
Object

Returns

Applies to

GetRepositoriesAsync(String, Nullable<Boolean>, Object)

[Preview API] Retrieve git repositories.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>> GetRepositoriesAsync(string project, Nullable<bool> includeLinks, object userState);
abstract member GetRepositoriesAsync : string * Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
override this.GetRepositoriesAsync : string * Nullable<bool> * obj -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.SourceControl.WebApi.GitRepository>>
Public Overridable Function GetRepositoriesAsync (project As String, includeLinks As Nullable(Of Boolean), userState As Object) As Task(Of List(Of GitRepository))

Parameters

project
String

Project ID or project name

includeLinks
Nullable<Boolean>
userState
Object

Returns

Applies to