Edit

Share via


ProjectHttpClient Class

Definition

HttpClient for get, edit, create, delete project.

[Microsoft.VisualStudio.Services.WebApi.ResourceArea("79134C72-4A58-4B42-976C-04E7115F32BF")]
public class ProjectHttpClient : Microsoft.TeamFoundation.Core.WebApi.ProjectHttpClientBase
type ProjectHttpClient = class
    inherit ProjectHttpClientBase
Public Class ProjectHttpClient
Inherits ProjectHttpClientBase
Inheritance
Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase
ProjectHttpClient
Attributes
Microsoft.VisualStudio.Services.WebApi.ResourceAreaAttribute

Constructors

ProjectHttpClient(Uri, HttpMessageHandler, Boolean)
ProjectHttpClient(Uri, VssCredentials)
ProjectHttpClient(Uri, VssCredentials, DelegatingHandler[])
ProjectHttpClient(Uri, VssCredentials, VssHttpRequestSettings)
ProjectHttpClient(Uri, VssCredentials, VssHttpRequestSettings, DelegatingHandler[])

Properties

TranslatedExceptions

Methods

GetProject(String, Nullable<Boolean>, Boolean, Object)

Get project with the specified id or name, optionally including capabilities.

GetProjectHistory(Int64, Object)
Obsolete.

Get recorded project changes since the provided revision (inclusive).

GetProjectHistoryEntriesAsync(Nullable<Int64>, Object, CancellationToken)

[Preview API]

(Inherited from ProjectHttpClientBase)
GetProjectPropertiesAsync(Guid, IEnumerable<String>, Object, CancellationToken)

[Preview API] Get a collection of team project properties.

(Inherited from ProjectHttpClientBase)
GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object)
Obsolete.

Get projects with the specified state.

(Inherited from ProjectCompatHttpClientBase)
GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String)

Get projects with the specified state.

GetProjects(Nullable<ProjectState>, Nullable<Int32>, Nullable<Int32>, Object, String, Nullable<Boolean>)

Get projects with the specified state.

Options()
QueueCreateProject(TeamProject, Object)

Queue a project creation with a specific Name, Abbreviation, Capabilities.VersionControl, Capabilities.ProcessTemplate, and optionally Description.

QueueDeleteProject(Guid, Boolean, Object)
QueueDeleteProject(Guid, Object)

Queue a project deletion.

SetProjectPropertiesAsync(Guid, JsonPatchDocument, Object, CancellationToken)

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

(Inherited from ProjectHttpClientBase)
UpdateProject(Guid, TeamProject, Object)

Update an existing project's name, abbreviation, or description.

Applies to