RegistryXmlRepository 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RegistryXmlRepository(RegistryKey) |
RegistryXmlRepository使用给定注册表项中存储的键创建 。 |
RegistryXmlRepository(RegistryKey, ILoggerFactory) |
RegistryXmlRepository使用给定注册表项中存储的键创建 。 |
RegistryXmlRepository(RegistryKey, IServiceProvider) |
RegistryXmlRepository使用给定注册表项中存储的键创建 。 |
RegistryXmlRepository(RegistryKey)
RegistryXmlRepository使用给定注册表项中存储的键创建 。
public:
RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey)
参数
- registryKey
- RegistryKey
要在其中保留密钥材料的注册表项。
适用于
RegistryXmlRepository(RegistryKey, ILoggerFactory)
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
- Source:
- RegistryXmlRepository.cs
RegistryXmlRepository使用给定注册表项中存储的键创建 。
public:
RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey, loggerFactory As ILoggerFactory)
参数
- registryKey
- RegistryKey
要在其中保留密钥材料的注册表项。
- loggerFactory
- ILoggerFactory
适用于
RegistryXmlRepository(RegistryKey, IServiceProvider)
RegistryXmlRepository使用给定注册表项中存储的键创建 。
public:
RegistryXmlRepository(Microsoft::Win32::RegistryKey ^ registryKey, IServiceProvider ^ services);
public RegistryXmlRepository (Microsoft.Win32.RegistryKey registryKey, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository : Microsoft.Win32.RegistryKey * IServiceProvider -> Microsoft.AspNetCore.DataProtection.Repositories.RegistryXmlRepository
Public Sub New (registryKey As RegistryKey, services As IServiceProvider)
参数
- registryKey
- RegistryKey
要在其中保留密钥材料的注册表项。
- services
- IServiceProvider
IServiceProvider用于解析服务的 。