System.Xml.Serialization.XmlSerializationReader.CreateReadOnlyCollectionException Method

Creates an InvalidOperationException that indicates that a SOAP-encoded collection type cannot be modified and its values cannot be filled in.

Syntax

protected Exception CreateReadOnlyCollectionException (string name)

Parameters

name
The fully qualified name of the .NET Framework type for which there is a mapping.

Returns

An InvalidOperationException exception.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0