Edit

Share via


ProjectHttpClientBase.SetProjectPropertiesAsync Method

Definition

[Preview API] Create, update, and delete team project properties.

public virtual System.Threading.Tasks.Task SetProjectPropertiesAsync (Guid projectId, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SetProjectPropertiesAsync : Guid * Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetProjectPropertiesAsync : Guid * Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

projectId
Guid

The team project ID.

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

A JSON Patch document that represents an array of property operations. See RFC 6902 for more details on JSON Patch. The accepted operation verbs are Add and Remove, where Add is used for both creating and updating properties. The path consists of a forward slash and a property name.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to