Sdílet prostřednictvím


RegistryXmlRepository Třída

Definice

Úložiště XML zálohované registrem Systému Windows.

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
Dědičnost
RegistryXmlRepository
Implementuje

Konstruktory

RegistryXmlRepository(RegistryKey)

Vytvoří RegistryXmlRepository s klíči uloženými v daném klíči registru.

RegistryXmlRepository(RegistryKey, ILoggerFactory)

Vytvoří RegistryXmlRepository s klíči uloženými v daném klíči registru.

RegistryXmlRepository(RegistryKey, IServiceProvider)

Vytvoří RegistryXmlRepository s klíči uloženými v daném klíči registru.

Vlastnosti

DefaultRegistryKey

Výchozí adresář úložiště klíčů, který aktuálně odpovídá HKLM\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys{SID}.

RegistryKey

Klíč registru, do kterého se zapíše materiál klíče.

Services

Parametr IServiceProvider poskytnutý konstruktoru.

Metody

GetAllElements()

Získá všechny elementy XML nejvyšší úrovně v úložišti.

StoreElement(XElement, String)

Přidá element XML nejvyšší úrovně do úložiště.

Platí pro