XmlDictionaryReader.CreateBinaryReader Method (Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

July 28, 2014

Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

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

public static XmlDictionaryReader CreateBinaryReader(
	Stream stream,
	IXmlDictionary dictionary,
	XmlDictionaryReaderQuotas quotas
)

Parameters

stream
Type: System.IO.Stream
The stream from which to read.
dictionary
Type: System.Xml.IXmlDictionary
XmlDictionary to use.
quotas
Type: System.Xml.XmlDictionaryReaderQuotas
The quotas that apply to this operation.

Return Value

Type: System.Xml.XmlDictionaryReader
An instance of XmlDictionaryReader.

ExceptionCondition
ArgumentNullException

stream or quotas is null.

Other XmlDictionaryReader properties are set to default values or null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft