ExtensionManagementHttpClient.QueryCollectionsByNameAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- collectionQuery
- ExtensionDataCollectionQuery
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for