XmlSerializationWriter.CreateUnknownAnyElementException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an InvalidOperationException that indicates that an XML element that should adhere to the XML Schema any
element declaration cannot be processed.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
Exception ^ CreateUnknownAnyElementException(System::String ^ name, System::String ^ ns);
protected Exception CreateUnknownAnyElementException (string name, string ns);
member this.CreateUnknownAnyElementException : string * string -> Exception
Protected Function CreateUnknownAnyElementException (name As String, ns As String) As Exception
Parameters
- name
- String
The XML element that cannot be processed.
- ns
- String
The namespace of the XML element.
Returns
The newly created exception.
Remarks
The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre