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

ConfigurationProperty.DecryptValue 方法

定义

解密加密的值并将其作为 SecureString 返回。

public System.Security.SecureString DecryptValue ();
member this.DecryptValue : unit -> System.Security.SecureString
Public Function DecryptValue () As SecureString

返回

返回 SecureString

例外

注解

有关如何加密机密并将其存储在配置中的示例,以及如何在运行时使用此方法解密值,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-application-secret-management

适用于