Udostępnij za pośrednictwem


IVsProjectSecrets.GetSecretNamesAsync(CancellationToken) Method

Definition

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.

Applies to