Edit

Share via


BuildHttpClientBase.UpdateBuildPropertiesAsync Method

Definition

Overloads

UpdateBuildPropertiesAsync(JsonPatchDocument, Guid, Int32, Object, CancellationToken)

[Preview API] Updates properties for a build.

UpdateBuildPropertiesAsync(JsonPatchDocument, String, Int32, Object, CancellationToken)

[Preview API] Updates properties for a build.

UpdateBuildPropertiesAsync(JsonPatchDocument, Guid, Int32, Object, CancellationToken)

[Preview API] Updates properties for a build.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> UpdateBuildPropertiesAsync (Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, Guid project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateBuildPropertiesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.UpdateBuildPropertiesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

document
Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument

A json-patch document describing the properties to update.

project
Guid

Project ID

buildId
Int32

The ID of the build.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to

UpdateBuildPropertiesAsync(JsonPatchDocument, String, Int32, Object, CancellationToken)

[Preview API] Updates properties for a build.

public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection> UpdateBuildPropertiesAsync (Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument document, string project, int buildId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateBuildPropertiesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>
override this.UpdateBuildPropertiesAsync : Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Parameters

document
Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument

A json-patch document describing the properties to update.

project
String

Project ID or project name

buildId
Int32

The ID of the build.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Task<Microsoft.VisualStudio.Services.WebApi.PropertiesCollection>

Applies to