RegistryXmlRepository Třída

Definice

Úložiště XML zálohované registrem 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ří s RegistryXmlRepository klíči uloženými v daném klíči registru.

RegistryXmlRepository(RegistryKey, ILoggerFactory)

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

RegistryXmlRepository(RegistryKey, IServiceProvider)

Vytvoří s RegistryXmlRepository 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á souboru 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

Poskytnutý IServiceProvider konstruktoru.

Metody

GetAllElements()

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

StoreElement(XElement, String)

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

Platí pro