KeyVaultSettingsClient.GetSetting(String, 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 specified account setting.
public virtual Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting> GetSetting (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSetting : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting>
override this.GetSetting : string * System.Threading.CancellationToken -> Azure.Response<Azure.Security.KeyVault.Administration.KeyVaultSetting>
Public Overridable Function GetSetting (name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KeyVaultSetting)
Parameters
- name
- String
The name of the account setting. Must be a valid settings option.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A response containing the specified account setting.
Exceptions
name
is an empty string.
name
is null.
The server returned an error. See Message for details returned from the server.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET