Edit

Share via


ExtensionManagementHttpClient.GetStatesAsync Method

Definition

[Preview API] List state and version information for all installed extensions.

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionState>> GetStatesAsync (Nullable<bool> includeDisabled = null, Nullable<bool> includeErrors = null, Nullable<bool> includeInstallationIssues = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.GetStatesAsync : Nullable<bool> * Nullable<bool> * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionState>>

Parameters

includeDisabled
Nullable<Boolean>

If true (the default), include disabled extensions in the results.

includeErrors
Nullable<Boolean>

If true, include installed extensions in an error state in the results.

includeInstallationIssues
Nullable<Boolean>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to