Export (0) Print
Expand All

XmlDictionaryReader.CreateMtomReader Method (Stream, Encoding, XmlDictionaryReaderQuotas)

Creates an instance of XmlDictionaryReader that reads XML in the MTOM format.

Namespace: System.Xml
Assembly: System.Runtime.Serialization (in system.runtime.serialization.dll)

public static XmlDictionaryReader CreateMtomReader (
	Stream stream,
	Encoding encoding,
	XmlDictionaryReaderQuotas quotas
)
public static XmlDictionaryReader CreateMtomReader (
	Stream stream, 
	Encoding encoding, 
	XmlDictionaryReaderQuotas quotas
)
public static function CreateMtomReader (
	stream : Stream, 
	encoding : Encoding, 
	quotas : XmlDictionaryReaderQuotas
) : XmlDictionaryReader
Not applicable.

Parameters

stream

The stream from which to read.

encoding

The possible character encoding of the stream.

quotas

The quotas to apply to this reader.

Return Value

An instance of XmlDictionaryReader.

Exception typeCondition

ArgumentNullException

encoding is a null reference (Nothing in Visual Basic).

This method reads from a stream, using the character encoding specified by encoding, an instance of Encoding.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft