Edit

Share via


XamlBuildHttpClient.QueueBuildAsync Method

Definition

Overloads

QueueBuildAsync(Build, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

QueueBuildAsync(Build, Guid, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

QueueBuildAsync(Build, String, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

QueueBuildAsync(Build, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build> QueueBuildAsync (Microsoft.TeamFoundation.Build.WebApi.Build build, Nullable<bool> ignoreWarnings = null, string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.QueueBuildAsync : Microsoft.TeamFoundation.Build.WebApi.Build * Nullable<bool> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build>

Parameters

build
Build
ignoreWarnings
Nullable<Boolean>
checkInTicket
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

QueueBuildAsync(Build, Guid, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build> QueueBuildAsync (Microsoft.TeamFoundation.Build.WebApi.Build build, Guid project, Nullable<bool> ignoreWarnings = null, string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.QueueBuildAsync : Microsoft.TeamFoundation.Build.WebApi.Build * Guid * Nullable<bool> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build>

Parameters

build
Build
project
Guid

Project ID

ignoreWarnings
Nullable<Boolean>
checkInTicket
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

QueueBuildAsync(Build, String, Nullable<Boolean>, String, Object, CancellationToken)

Queues a build

public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build> QueueBuildAsync (Microsoft.TeamFoundation.Build.WebApi.Build build, string project, Nullable<bool> ignoreWarnings = null, string checkInTicket = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.QueueBuildAsync : Microsoft.TeamFoundation.Build.WebApi.Build * string * Nullable<bool> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Build.WebApi.Build>

Parameters

build
Build
project
String

Project ID or project name

ignoreWarnings
Nullable<Boolean>
checkInTicket
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to