IVsProjectSecrets.GetSecretNamesAsync(CancellationToken) 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.
Gets the names of the stored secrets.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>> GetSecretNamesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecretNamesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>>
Public Function GetSecretNamesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyCollection(Of String))
Parameters
- cancellationToken
- CancellationToken
A token that may cancel this operation.
Returns
The set of secret names.
Exceptions
Thrown when the user does not have permission for this operation.
Thrown when the operation could not be completed due to some network or I/O failure.