BuildHttpClientBase.ListSourceProvidersAsync 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
| ListSourceProvidersAsync(Guid, Object, CancellationToken) |
[Preview API] Get a list of source providers and their capabilities. |
| ListSourceProvidersAsync(String, Object, CancellationToken) |
[Preview API] Get a list of source providers and their capabilities. |
ListSourceProvidersAsync(Guid, Object, CancellationToken)
[Preview API] Get a list of source providers and their capabilities.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>> ListSourceProvidersAsync(Guid project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ListSourceProvidersAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>>
override this.ListSourceProvidersAsync : Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>>
Parameters
- project
- Guid
Project ID
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
ListSourceProvidersAsync(String, Object, CancellationToken)
[Preview API] Get a list of source providers and their capabilities.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>> ListSourceProvidersAsync(string project, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ListSourceProvidersAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>>
override this.ListSourceProvidersAsync : string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.SourceProviderAttributes>>
Parameters
- project
- String
Project ID or project name
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.