XmlDocumentDecryptor.DecryptDocumentAndCreateXmlReader(XmlDocument) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un lecteur capable de déchiffrer un document XML chiffré.
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
Paramètres
- document
- XmlDocument
Document.
Retours
XmlReader qui peut lire le document.
- Attributs