Edit

Share via


XamlBuildHttpClient.GetBuildDeploymentsAsync Method

Definition

Overloads

GetBuildDeploymentsAsync(Guid, Int32, Object, CancellationToken)

Gets the deployment information associated with a build

GetBuildDeploymentsAsync(String, Int32, Object, CancellationToken)

Gets the deployment information associated with a build

GetBuildDeploymentsAsync(Guid, Int32, Object, CancellationToken)

Gets the deployment information associated with a build

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Deployment>> GetBuildDeploymentsAsync (Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetBuildDeploymentsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Deployment>>

Parameters

project
Guid

Project ID

buildId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetBuildDeploymentsAsync(String, Int32, Object, CancellationToken)

Gets the deployment information associated with a build

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Deployment>> GetBuildDeploymentsAsync (string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetBuildDeploymentsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.Build.WebApi.Deployment>>

Parameters

project
String

Project ID or project name

buildId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to