Creates an InvalidOperationException that indicates a failure while writing an array where an XML Schema choice element declaration is applied.
![]()
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.