你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyVaultKeyIdentifier(Uri) 构造函数

定义

创建 KeyVaultKeyIdentifier 类的新实例。

public KeyVaultKeyIdentifier(Uri id);
new Azure.Security.KeyVault.Keys.KeyVaultKeyIdentifier : Uri -> Azure.Security.KeyVault.Keys.KeyVaultKeyIdentifier
Public Sub New (id As Uri)

参数

id
Uri

Uri 或删除的键。

例外

id不是有效的密钥保管库或托管 HSM 密钥 ID。

id 为 null。

注解

成功分析给定Uri的 并不保证 id 是有效的 密钥保管库 或托管 HSM 密钥标识符:仅保证它包含看起来像密钥保管库密钥标识符的必需路径部分。 VaultUri如果 引用有效的 密钥保管库 或托管 HSM,则当 和 Version 未指定有效密钥时,Name服务将返回错误。

适用于