XmlSerializationReader Class
TOC
Collapse the table of content
Expand the table of content

XmlSerializationReader Class

 
Use BaseTrue

This API supports the product infrastructure and is not intended to be used directly from your code.

Controls deserialization by the XmlSerializer class.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

System.Object
  System.Xml.Serialization.XmlSerializationGeneratedCode
    System.Xml.Serialization.XmlSerializationReader

public abstract class XmlSerializationReader : XmlSerializationGeneratedCode

NameDescription
System_CAPS_protmethodXmlSerializationReader()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSerializationReader class.

NameDescription
System_CAPS_protpropertyDecodeName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that determines whether XML strings are translated into valid .NET Framework type names.

System_CAPS_protpropertyDocument

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the XML document object into which the XML document is being deserialized.

System_CAPS_protpropertyIsReturnValue

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a value that should be true for a SOAP 1.1 return value.

System_CAPS_protpropertyReader

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the XmlReader object that is being used by XmlSerializationReader.

System_CAPS_protpropertyReaderCount

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the current count of the XmlReader.

NameDescription
System_CAPS_protmethodAddFixup(XmlSerializationReader.CollectionFixup)

This API supports the product infrastructure and is not intended to be used directly from your code. Stores an object that contains a callback method that will be called, as necessary, to fill in .NET Framework collections or enumerations that map to SOAP-encoded arrays or SOAP-encoded, multi-referenced elements.

System_CAPS_protmethodAddFixup(XmlSerializationReader.Fixup)

This API supports the product infrastructure and is not intended to be used directly from your code. Stores an object that contains a callback method instance that will be called, as necessary, to fill in the objects in a SOAP-encoded array.

System_CAPS_protmethodAddReadCallback(String, String, Type, XmlSerializationReadCallback)

This API supports the product infrastructure and is not intended to be used directly from your code. Stores an implementation of the XmlSerializationReadCallback delegate and its input data for a later invocation.

System_CAPS_protmethodAddTarget(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Stores an object that is being deserialized from a SOAP-encoded multiRef element for later access through the GetTarget method.

System_CAPS_protmethodCheckReaderCount(Int32, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Checks whether the deserializer has advanced.

System_CAPS_protmethodCollapseWhitespace(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes all occurrences of white space characters from the beginning and end of the specified string.

System_CAPS_protmethodCreateAbstractTypeException(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that an object being deserialized should be abstract.

System_CAPS_protmethodCreateBadDerivationException(String, String, String, String, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Populates an object from its XML representation at the current location of the XmlReader, with an option to read the inner element.

System_CAPS_protmethodCreateCtorHasSecurityException(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because the constructor throws a security exception.

System_CAPS_protmethodCreateInaccessibleConstructorException(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because there is no constructor available.

System_CAPS_protmethodCreateInvalidCastException(Type, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidCastException that indicates that an explicit reference conversion failed.

System_CAPS_protmethodCreateInvalidCastException(Type, Object, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidCastException that indicates that an explicit reference conversion failed.

System_CAPS_protmethodCreateMissingIXmlSerializableType(String, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that a derived type that is mapped to an XML Schema data type cannot be located.

System_CAPS_protmethodCreateReadOnlyCollectionException(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that a SOAP-encoded collection type cannot be modified and its values cannot be filled in.

System_CAPS_protmethodCreateUnknownConstantException(String, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that an enumeration value is not valid.

System_CAPS_protmethodCreateUnknownNodeException()

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that the current position of XmlReader represents an unknown XML node.

System_CAPS_protmethodCreateUnknownTypeException(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an InvalidOperationException that indicates that a type is unknown.

System_CAPS_protmethodEnsureArrayIndex(Array, Int32, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Ensures that a given array, or a copy, is large enough to contain a specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodFixupArrayRefs(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Fills in the values of a SOAP-encoded array whose data type maps to a .NET Framework reference type.

System_CAPS_protmethodGetArrayLength(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the length of the SOAP-encoded array where the XmlReader is currently positioned.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetNullAttr()

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the XML element where the XmlReader is currently positioned has a null attribute set to the value true.

System_CAPS_protmethodGetTarget(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an object that is being deserialized from a SOAP-encoded multiRef element and that was stored earlier by AddTarget.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetXsiType()

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the value of the xsi:type attribute for the XML element at the current location of the XmlReader.

System_CAPS_protmethodInitCallbacks()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes callback methods that populate objects that map to SOAP-encoded XML data.

System_CAPS_protmethodInitIDs()

This API supports the product infrastructure and is not intended to be used directly from your code. Stores element and attribute names in a NameTable object.

System_CAPS_protmethodIsXmlnsAttribute(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether an XML attribute name indicates an XML namespace.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodParseWsdlArrayType(XmlAttribute)

This API supports the product infrastructure and is not intended to be used directly from your code. Sets the value of the XML attribute if it is of type arrayType from the Web Services Description Language (WSDL) namespace.

System_CAPS_protmethodReadElementQualifiedName()

This API supports the product infrastructure and is not intended to be used directly from your code. Makes the XmlReader read the fully qualified name of the element where it is currently positioned.

System_CAPS_protmethodReadEndElement()

This API supports the product infrastructure and is not intended to be used directly from your code. Makes the XmlReader read an XML end tag.

System_CAPS_protmethodReadNull()

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read the current XML element if the element has a null attribute with the value true.

System_CAPS_protmethodReadNullableQualifiedName()

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read the fully qualified name of the element where it is currently positioned.

System_CAPS_protmethodReadNullableString()

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read a simple, text-only XML element that could be null.

System_CAPS_protmethodReadReference(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Reads the value of the href attribute (ref attribute for SOAP 1.2) that is used to refer to an XML element in SOAP encoding.

System_CAPS_protmethodReadReferencedElement()

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes an object from a SOAP-encoded multiRef XML element.

System_CAPS_protmethodReadReferencedElement(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes an object from a SOAP-encoded multiRef XML element.

System_CAPS_protmethodReadReferencedElements()

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes objects from the SOAP-encoded multiRef elements in a SOAP message.

System_CAPS_protmethodReadReferencingElement(String, String, Boolean, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

System_CAPS_protmethodReadReferencingElement(String, String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

System_CAPS_protmethodReadReferencingElement(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.

System_CAPS_protmethodReadSerializable(IXmlSerializable)

This API supports the product infrastructure and is not intended to be used directly from your code. Populates an object from its XML representation at the current location of the XmlReader.

System_CAPS_protmethodReadSerializable(IXmlSerializable, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_protmethodReadString(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces the result of a call to the ReadString method appended to the input value.

System_CAPS_protmethodReadString(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the result of a call to the ReadString method of the XmlReader class, trimmed of white space if needed, and appended to the input value.

System_CAPS_protmethodReadTypedNull(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Reads an XML element that allows null values (xsi:nil = 'true') and returns a generic Nullable<T> value.

System_CAPS_protmethodReadTypedPrimitive(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the value of the XML node at which the XmlReader is currently positioned.

System_CAPS_protmethodReadXmlDocument(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read an XML document root element at its current position.

System_CAPS_protmethodReadXmlNode(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read the XML node at its current position.

System_CAPS_protmethodReferenced(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Stores an object to be deserialized from a SOAP-encoded multiRef element.

System_CAPS_protmethodSystem_CAPS_staticResolveDynamicAssembly(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a dynamically generated assembly by name.

System_CAPS_protmethodShrinkArray(Array, Int32, Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Ensures that a given array, or a copy, is no larger than a specified length.

System_CAPS_protmethodToByteArrayBase64(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read the string value at its current position and return it as a base-64 byte array.

System_CAPS_protmethodSystem_CAPS_staticToByteArrayBase64(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a base-64 byte array from an input string.

System_CAPS_protmethodToByteArrayHex(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Instructs the XmlReader to read the string value at its current position and return it as a hexadecimal byte array.

System_CAPS_protmethodSystem_CAPS_staticToByteArrayHex(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a hexadecimal byte array from an input string.

System_CAPS_protmethodSystem_CAPS_staticToChar(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a Char object from an input string.

System_CAPS_protmethodSystem_CAPS_staticToDate(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a DateTime object from an input string.

System_CAPS_protmethodSystem_CAPS_staticToDateTime(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a DateTime object from an input string.

System_CAPS_protmethodSystem_CAPS_staticToEnum(String, Hashtable, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodSystem_CAPS_staticToTime(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Produces a DateTime from a string that represents the time.

System_CAPS_protmethodSystem_CAPS_staticToXmlName(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Decodes an XML name.

System_CAPS_protmethodSystem_CAPS_staticToXmlNCName(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Decodes an XML name.

System_CAPS_protmethodSystem_CAPS_staticToXmlNmToken(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Decodes an XML name.

System_CAPS_protmethodSystem_CAPS_staticToXmlNmTokens(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Decodes an XML name.

System_CAPS_protmethodToXmlQualifiedName(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Obtains an XmlQualifiedName from a name that may contain a prefix.

System_CAPS_protmethodUnknownAttribute(Object, XmlAttribute)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownAttribute event for the current position of the XmlReader.

System_CAPS_protmethodUnknownAttribute(Object, XmlAttribute, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownAttribute event for the current position of the XmlReader.

System_CAPS_protmethodUnknownElement(Object, XmlElement)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownElement event for the current position of the XmlReader.

System_CAPS_protmethodUnknownElement(Object, XmlElement, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownElement event for the current position of the XmlReader.

System_CAPS_protmethodUnknownNode(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownNode event for the current position of the XmlReader.

System_CAPS_protmethodUnknownNode(Object, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnknownNode event for the current position of the XmlReader.

System_CAPS_protmethodUnreferencedObject(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises an UnreferencedObject event for the current position of the XmlReader.

During initialization, the .NET Framework XML serialization infrastructure dynamically generates and compiles a temporary class for deserialization that is derived from the abstract XmlSerializationReader class. XmlSerializationReader is also implemented within the .NET Framework for deserialization of XML documents into DiscoveryDocument and ServiceDescription objects.

You should not derive classes from XmlSerializationReader. Instead, call one of the Deserialize methods.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft