XmlDocumentDecryptor.DecryptDocumentAndCreateXmlReader(XmlDocument) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en läsare som kan dekryptera ett krypterat XML-dokument.
protected:
virtual System::Xml::XmlReader ^ DecryptDocumentAndCreateXmlReader(System::Xml::XmlDocument ^ document);
[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.")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
protected virtual System.Xml.XmlReader DecryptDocumentAndCreateXmlReader(System.Xml.XmlDocument document);
protected virtual System.Xml.XmlReader DecryptDocumentAndCreateXmlReader(System.Xml.XmlDocument document);
[<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.")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
abstract member DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
override this.DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
abstract member DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
override this.DecryptDocumentAndCreateXmlReader : System.Xml.XmlDocument -> System.Xml.XmlReader
Protected Overridable Function DecryptDocumentAndCreateXmlReader (document As XmlDocument) As XmlReader
Parametrar
- document
- XmlDocument
Dokumentet.
Returer
En XmlReader som kan läsa dokumentet.
- Attribut