XmlStreamConfigurationSource Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt eine XML-Datei als .IConfigurationSource
public ref class XmlStreamConfigurationSource : Microsoft::Extensions::Configuration::StreamConfigurationSource
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
public class XmlStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource
public class XmlStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")>]
type XmlStreamConfigurationSource = class
inherit StreamConfigurationSource
type XmlStreamConfigurationSource = class
inherit StreamConfigurationSource
Public Class XmlStreamConfigurationSource
Inherits StreamConfigurationSource
- Vererbung
- Attribute
Konstruktoren
| Name | Beschreibung |
|---|---|
| XmlStreamConfigurationSource() |
Initialisiert eine neue instance von XmlStreamConfigurationSource. |
Eigenschaften
| Name | Beschreibung |
|---|---|
| Stream |
Ruft den Datenstrom ab, der die Konfigurationsdaten enthält, oder legt diesen fest. (Geerbt von StreamConfigurationSource) |
Methoden
| Name | Beschreibung |
|---|---|
| Build(IConfigurationBuilder) |
Erstellt die XmlStreamConfigurationProvider Quelle für diese Quelle. |