DelegatingConfigHost.DecryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection) Methode

Definition

Entschlüsselt einen verschlüsselten Konfigurationsabschnitt.Decrypts an encrypted configuration section.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

public:
 virtual System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedConfigSection);
public:
 virtual System::String ^ DecryptSection(System::String ^ encryptedXml, System::Configuration::ProtectedConfigurationProvider ^ protectionProvider, System::Configuration::ProtectedConfigurationSection ^ protectedSection);
public virtual string DecryptSection (string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedConfigSection);
public virtual string DecryptSection (string encryptedXml, System.Configuration.ProtectedConfigurationProvider protectionProvider, System.Configuration.ProtectedConfigurationSection protectedSection);
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
override this.DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
abstract member DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
override this.DecryptSection : string * System.Configuration.ProtectedConfigurationProvider * System.Configuration.ProtectedConfigurationSection -> string
Public Overridable Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection) As String
Public Overridable Function DecryptSection (encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedSection As ProtectedConfigurationSection) As String

Parameter

encryptedXml
String

Ein verschlüsselter Abschnitt einer Konfigurationsdatei.An encrypted section of a configuration file.

protectionProvider
ProtectedConfigurationProvider

Ein Objekt, das die Anbieter enthält, die geschützte Konfigurationsdaten verschlüsseln und entschlüsseln.An object containing the providers that encrypt and decrypt protected configuration data.

protectedConfigSectionprotectedSection
ProtectedConfigurationSection

Ein Objekt, das programmgesteuerten Zugriff auf den Konfigurationsabschnitt configProtectedData bereitstellt.An object that provides programatic access to the configProtectedData configuration section.

Gibt zurück

String

Eine Zeichenfolge, die einen entschlüsselten Konfigurationsabschnitt darstellt.A string representing a decrypted configuration section.

Implementiert

Gilt für: