Muokkaa

Jaa


XmlSerializationWriter.CreateUnknownAnyElementException Method

Definition

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