Creates an InvalidOperationException that indicates an unexpected name for an element that adheres to an XML Schema choice element declaration.
The newly created exception.
The protected members of System.Xml.Serialization.XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.