Aracılığıyla paylaş


RegistryXmlRepository Sınıf

Tanım

Windows kayıt defteri tarafından yedeklenen bir XML deposu.

public ref class RegistryXmlRepository : Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository
public class RegistryXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
type RegistryXmlRepository = class
    interface IXmlRepository
Public Class RegistryXmlRepository
Implements IXmlRepository
Devralma
RegistryXmlRepository
Uygulamalar

Oluşturucular

RegistryXmlRepository(RegistryKey)

Verilen kayıt defteri anahtarında depolanan anahtarlarla bir RegistryXmlRepository oluşturur.

RegistryXmlRepository(RegistryKey, ILoggerFactory)

Verilen kayıt defteri anahtarında depolanan anahtarlarla bir RegistryXmlRepository oluşturur.

RegistryXmlRepository(RegistryKey, IServiceProvider)

Verilen kayıt defteri anahtarında depolanan anahtarlarla bir RegistryXmlRepository oluşturur.

Özellikler

DefaultRegistryKey

Şu anda "HKLM\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys{SID}" öğesine karşılık gelen varsayılan anahtar depolama dizini.

RegistryKey

Anahtar malzemesinin yazılacağı kayıt defteri anahtarı.

Services

IServiceProvider Oluşturucuya sağlanan.

Yöntemler

GetAllElements()

Depodaki tüm üst düzey XML öğelerini alır.

StoreElement(XElement, String)

Depoya bir üst düzey XML öğesi ekler.

Şunlara uygulanır