Export (0) Print
Expand All
Expand Minimize

XmlSerializationReader Methods

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

The XmlSerializationReader type exposes the following members.

  NameDescription
Protected method AddFixup(XmlSerializationReader.CollectionFixup) 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.
Protected method AddFixup(XmlSerializationReader.Fixup) 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.
Protected method AddReadCallback Stores an implementation of the XmlSerializationReadCallback delegate and its input data for a later invocation.
Protected method AddTarget Stores an object that is being deserialized from a SOAP-encoded multiRef element for later access through the GetTarget method.
Protected method CheckReaderCount Checks whether the deserializer has advanced.
Protected method CollapseWhitespace Removes all occurrences of white space characters from the beginning and end of the specified string.
Protected method CreateAbstractTypeException Creates an InvalidOperationException that indicates that an object being deserialized should be abstract.
Protected method CreateBadDerivationException Populates an object from its XML representation at the current location of the XmlReader, with an option to read the inner element.
Protected method CreateCtorHasSecurityException Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because the constructor throws a security exception.
Protected method CreateInaccessibleConstructorException Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because there is no constructor available.
Protected method CreateInvalidCastException(Type, Object) Creates an InvalidCastException that indicates that an explicit reference conversion failed.
Protected method CreateInvalidCastException(Type, Object, String) Creates an InvalidCastException that indicates that an explicit reference conversion failed.
Protected method CreateMissingIXmlSerializableType Creates an InvalidOperationException that indicates that a derived type that is mapped to an XML Schema data type cannot be located.
Protected method CreateReadOnlyCollectionException Creates an InvalidOperationException that indicates that a SOAP-encoded collection type cannot be modified and its values cannot be filled in.
Protected method CreateUnknownConstantException Creates an InvalidOperationException that indicates that an enumeration value is not valid.
Protected method CreateUnknownNodeException Creates an InvalidOperationException that indicates that the current position of XmlReader represents an unknown XML node.
Protected method CreateUnknownTypeException Creates an InvalidOperationException that indicates that a type is unknown.
Protected method EnsureArrayIndex Ensures that a given array, or a copy, is large enough to contain a specified index.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FixupArrayRefs Fills in the values of a SOAP-encoded array whose data type maps to a .NET Framework reference type.
Protected method GetArrayLength Gets the length of the SOAP-encoded array where the XmlReader is currently positioned.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetNullAttr Infrastructure. Determines whether the XML element where the XmlReader is currently positioned has a null attribute set to the value true.
Protected method GetTarget Infrastructure. Gets an object that is being deserialized from a SOAP-encoded multiRef element and that was stored earlier by AddTarget.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetXsiType Gets the value of the xsi:type attribute for the XML element at the current location of the XmlReader.
Protected method InitCallbacks Initializes callback methods that populate objects that map to SOAP-encoded XML data.
Protected method InitIDs Infrastructure. Stores element and attribute names in a NameTable object.
Protected method IsXmlnsAttribute Infrastructure. Determines whether an XML attribute name indicates an XML namespace.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ParseWsdlArrayType Sets the value of the XML attribute if it is of type arrayType from the Web Services Description Language (WSDL) namespace.
Protected method ReadElementQualifiedName Makes the XmlReader read the fully qualified name of the element where it is currently positioned.
Protected method ReadEndElement Makes the XmlReader read an XML end tag.
Protected method ReadNull Instructs the XmlReader to read the current XML element if the element has a null attribute with the value true.
Protected method ReadNullableQualifiedName Instructs the XmlReader to read the fully qualified name of the element where it is currently positioned.
Protected method ReadNullableString Instructs the XmlReader to read a simple, text-only XML element that could be null.
Protected method ReadReference 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.
Protected method ReadReferencedElement() Deserializes an object from a SOAP-encoded multiRef XML element.
Protected method ReadReferencedElement(String, String) Deserializes an object from a SOAP-encoded multiRef XML element.
Protected method ReadReferencedElements Deserializes objects from the SOAP-encoded multiRef elements in a SOAP message.
Protected method ReadReferencingElement(String) Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.
Protected method ReadReferencingElement(String, String, String) Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.
Protected method ReadReferencingElement(String, String, Boolean, String) Deserializes an object from an XML element in a SOAP message that contains a reference to a multiRef element.
Protected method ReadSerializable(IXmlSerializable) Populates an object from its XML representation at the current location of the XmlReader.
Protected method ReadSerializable(IXmlSerializable, Boolean) This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Protected method ReadString(String) Produces the result of a call to the ReadString method appended to the input value.
Protected method ReadString(String, Boolean) 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.
Protected method ReadTypedNull Reads an XML element that allows null values (xsi:nil = 'true') and returns a generic Nullable<T> value.
Protected method ReadTypedPrimitive Gets the value of the XML node at which the XmlReader is currently positioned.
Protected method ReadXmlDocument Instructs the XmlReader to read an XML document root element at its current position.
Protected method ReadXmlNode Instructs the XmlReader to read the XML node at its current position.
Protected method Referenced Stores an object to be deserialized from a SOAP-encoded multiRef element.
Protected method Static member ResolveDynamicAssembly Infrastructure. Gets a dynamically generated assembly by name.
Protected method ShrinkArray Ensures that a given array, or a copy, is no larger than a specified length.
Protected method ToByteArrayBase64(Boolean) Instructs the XmlReader to read the string value at its current position and return it as a base-64 byte array.
Protected method Static member ToByteArrayBase64(String) Produces a base-64 byte array from an input string.
Protected method ToByteArrayHex(Boolean) Instructs the XmlReader to read the string value at its current position and return it as a hexadecimal byte array.
Protected method Static member ToByteArrayHex(String) Produces a hexadecimal byte array from an input string.
Protected method Static member ToChar Produces a Char object from an input string.
Protected method Static member ToDate Produces a DateTime object from an input string.
Protected method Static member ToDateTime Produces a DateTime object from an input string.
Protected method Static member ToEnum Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method Static member ToTime Produces a DateTime from a string that represents the time.
Protected method Static member ToXmlName Decodes an XML name.
Protected method Static member ToXmlNCName Decodes an XML name.
Protected method Static member ToXmlNmToken Decodes an XML name.
Protected method Static member ToXmlNmTokens Decodes an XML name.
Protected method ToXmlQualifiedName Obtains an XmlQualifiedName from a name that may contain a prefix.
Protected method UnknownAttribute(Object, XmlAttribute) Raises an UnknownAttribute event for the current position of the XmlReader.
Protected method UnknownAttribute(Object, XmlAttribute, String) Raises an UnknownAttribute event for the current position of the XmlReader.
Protected method UnknownElement(Object, XmlElement) Raises an UnknownElement event for the current position of the XmlReader.
Protected method UnknownElement(Object, XmlElement, String) Raises an UnknownElement event for the current position of the XmlReader.
Protected method UnknownNode(Object) Raises an UnknownNode event for the current position of the XmlReader.
Protected method UnknownNode(Object, String) Raises an UnknownNode event for the current position of the XmlReader.
Protected method UnreferencedObject Infrastructure. Raises an UnreferencedObject event for the current position of the XmlReader.
Top

Community Additions

ADD
Show:
© 2014 Microsoft