Freigeben über


AppConfigurationKeyValueCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft die Eigenschaften des angegebenen Schlüssel-Werts ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}
  • Vorgangs-IdKeyValues_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.AppConfigurationKeyValueResource>> GetAsync (string keyValueName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.AppConfigurationKeyValueResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.AppConfigurationKeyValueResource>>
Public Overridable Function GetAsync (keyValueName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppConfigurationKeyValueResource))

Parameter

keyValueName
String

Bezeichner der Tasten- und Bezeichnungskombination. Schlüssel und Bezeichnung werden durch $-Zeichen verknüpft. Die Bezeichnung ist optional.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

keyValueName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

keyValueName ist NULL.

Gilt für: