XmlSerializationWriter Members
.NET Framework 3.5
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Abstract class used for controlling serialization by the XmlSerializer class.
The XmlSerializationWriter type exposes the following members.
| Name | Description | |
|---|---|---|
|
XmlSerializationWriter | Initializes a new instance of the XmlSerializationWriter class. |
| Name | Description | |
|---|---|---|
|
AddWriteCallback | Stores an implementation of the XmlSerializationWriteCallback delegate and the type it applies to, for a later invocation. |
|
CreateChoiceIdentifierValueException | Creates an InvalidOperationException that indicates an unexpected name for an element that adheres to an XML Schema choice element declaration. |
|
CreateInvalidAnyTypeException | Overloaded. Creates an InvalidOperationException. |
|
CreateInvalidChoiceIdentifierValueException | Creates an InvalidOperationException that indicates a failure while writing an array where an XML Schema choice element declaration is applied. |
|
CreateInvalidEnumValueException | Creates an InvalidOperationException for an invalid enumeration value. |
|
CreateMismatchChoiceException | Creates an InvalidOperationException that indicates that a value for an XML element does not match an enumeration type. |
|
CreateUnknownAnyElementException | Creates an InvalidOperationException that indicates that an XML element that should adhere to the XML Schema any element declaration cannot be processed. |
|
CreateUnknownTypeException | Overloaded. Creates an InvalidOperationException that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FromByteArrayBase64 | Processes a base-64 byte array. |
|
FromByteArrayHex | Produces a string from an input hexadecimal byte array. |
|
FromChar | Produces a string from an input Char. |
|
FromDate | Produces a string from a DateTime object. |
|
FromDateTime | Produces a string from an input DateTime. |
|
FromEnum | Overloaded. Takes a numeric enumeration value and returns a string that consists of delimited identifiers that represent the enumeration members that have been set. |
|
FromTime | Produces a string from a DateTime object. |
|
FromXmlName | Encodes a valid XML name by replacing characters that are not valid with escape sequences. |
|
FromXmlNCName | Encodes a valid XML local name by replacing characters that are not valid with escape sequences. |
|
FromXmlNmToken | Encodes an XML name. |
|
FromXmlNmTokens | Encodes a space-delimited sequence of XML names into a single XML name. |
|
FromXmlQualifiedName | Overloaded. Produces an XML qualified name, with invalid characters replaced by escape sequences. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
InitCallbacks | Initializes instances of the XmlSerializationWriteCallback delegate to serialize SOAP-encoded XML data. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ResolveDynamicAssembly | Infrastructure. Gets a dynamically generated assembly by name. |
|
TopLevelElement | Initializes object references only while serializing a SOAP-encoded SOAP message. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
WriteAttribute | Overloaded. Instructs an XmlNode object to write an XML attribute that has no namespace specified for its name. |
|
WriteElementEncoded | Writes an XML node object within the body of a named XML element. |
|
WriteElementLiteral | Instructs an XmlWriter object to write an XmlNode object within the body of a named XML element. |
|
WriteElementQualifiedName | Overloaded. Writes an XML element with a specified qualified name in its body. |
|
WriteElementString | Overloaded. Writes an opening element tag, including any attributes. |
|
WriteElementStringRaw | Overloaded. Writes an XML element with a specified value in its body. |
|
WriteEmptyTag | Overloaded. Writes an XML element whose body is empty. |
|
WriteEndElement | Overloaded. Writes a <closing> element tag. |
|
WriteId | Writes an id attribute that appears in a SOAP-encoded multiRef element. |
|
WriteNamespaceDeclarations | Infrastructure. Writes namespace declaration attributes. |
|
WriteNullableQualifiedNameEncoded | Writes an XML element whose body contains a valid XML qualified name. XmlWriter inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullableQualifiedNameLiteral | Writes an XML element whose body contains a valid XML qualified name. XmlWriter inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullableStringEncoded | Writes an XML element that contains a string as the body. XmlWriter inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullableStringEncodedRaw | Overloaded. Writes a byte array as the body of an XML element. XmlNode inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullableStringLiteral | Writes an XML element that contains a string as the body. XmlWriter inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullableStringLiteralRaw | Overloaded. Writes a byte array as the body of an XML element. XmlNode inserts an xsi:nil='true' attribute if the string's value is null. |
|
WriteNullTagEncoded | Overloaded. Instructs XmlNode to write an XML element with an xsi:nil='true' attribute. |
|
WriteNullTagLiteral | Overloaded. Instructs XmlNode to write an XML element with an xsi:nil='true' attribute. |
|
WritePotentiallyReferencingElement | Overloaded. Writes a SOAP message XML element that can contain a reference to a <multiRef> XML element for a given object. |
|
WriteReferencedElements | Serializes objects into SOAP-encoded multiRef XML elements in a SOAP message. |
|
WriteReferencingElement | Overloaded. Writes a SOAP message XML element that contains a reference to a multiRef element for a given object. |
|
WriteRpcResult | Writes a SOAP 1.2 RPC result element with a specified qualified name in its body. |
|
WriteSerializable | Overloaded. Instructs XmlNode to write an object that uses custom XML formatting as an XML element. |
|
WriteStartDocument | Writes the XML declaration if the writer is positioned at the start of an XML document. |
|
WriteStartElement | Overloaded. Instructs XmlNode to write an opening element tag, including any attributes. |
|
WriteTypedPrimitive | Writes an XML element whose text body is a value of a simple XML Schema data type. |
|
WriteValue | Overloaded. Instructs XmlNode to write the specified value. |
|
WriteXmlAttribute | Overloaded. Instructs XmlNode to write an XML attribute. |
|
WriteXsiType | Writes an xsi:type attribute for an XML element that is being serialized into a document. |
| Name | Description | |
|---|---|---|
|
EscapeName | Gets or sets a value that indicates whether the EncodeName method is used to write valid XML. |
|
Namespaces | Gets or sets a list of XML qualified name objects that contain the namespaces and prefixes used to produce qualified names in XML documents. |
|
Writer | Gets the XmlWriter that is being used by the XmlSerializationWriter. |