Edit

Share via


ExtensionManagementHttpClient.QueryCollectionsByNameAsync Method

Definition

[Preview API] Query for one or more data collections for the specified extension. Note: the token used for authorization must have been issued on behalf of the specified extension.

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollection>> QueryCollectionsByNameAsync (Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollectionQuery collectionQuery, string publisherName, string extensionName, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.QueryCollectionsByNameAsync : Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollectionQuery * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.ExtensionDataCollection>>

Parameters

publisherName
String

Name of the publisher. Example: "fabrikam".

extensionName
String

Name of the extension. Example: "ops-tools".

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to