XamlBuildHttpClient.QueueBuildAsync 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
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
- 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
- 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
- checkInTicket
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for