XmlDictionaryReader.CreateBinaryReader Method

Definition

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

Overloads

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

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

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

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

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

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

CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

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

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

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

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)

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

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

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

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

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

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

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

Remarks

These overloads create an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas);

Parameters

buffer
Byte[]

The buffer from which to read.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

buffer is null.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.XmlDictionaryReaderQuotas quotas);

Parameters

stream
Stream

The stream from which to read.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

stream is null.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);

Parameters

stream
Stream

The stream from which to read.

dictionary
IXmlDictionary

XmlDictionary to use.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

stream or quotas is null.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.XmlDictionaryReaderQuotas quotas);

Parameters

buffer
Byte[]

The buffer from which to read.

offset
Int32

The starting position from which to read in buffer.

count
Int32

The number of bytes that can be read from buffer.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

buffer is null.

count is less than zero or greater than the buffer length minus the offset.

-or-

offset is less than zero or greater than the buffer length.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session);

Parameters

stream
Stream

The stream from which to read.

dictionary
IXmlDictionary

XmlDictionary to use.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

stream is null.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);

Parameters

buffer
Byte[]

The buffer from which to read.

offset
Int32

The starting position from which to read in buffer.

count
Int32

The number of bytes that can be read from buffer.

dictionary
IXmlDictionary

XmlDictionary to use.

quotas
XmlDictionaryReaderQuotas

The quotas that apply to this operation.

Returns

An instance of XmlDictionaryReader.

Exceptions

buffer is null.

-or-

offset is less than zero or greater than the buffer length.

count is less than zero or greater than the buffer length minus the offset.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);

Parameters

stream
Stream

The stream from which to read.

dictionary
IXmlDictionary

XmlDictionary to use.

onClose
OnXmlDictionaryReaderClose

Delegate to be called when the reader is closed.

Returns

An instance of XmlDictionaryReader.

Exceptions

stream is null.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session);

Parameters

buffer
Byte[]

The buffer from which to read.

offset
Int32

The starting position from which to read in buffer.

count
Int32

The number of bytes that can be read from buffer.

dictionary
IXmlDictionary

The XmlDictionary to use.

Returns

An instance of XmlDictionaryReader.

Exceptions

buffer is null.

count is less than zero or greater than the buffer length minus the offset.

-or-

offset is less than zero or greater than the buffer length.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

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

public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);

Parameters

buffer
Byte[]

The buffer from which to read.

offset
Int32

The starting position from which to read in buffer.

count
Int32

The number of bytes that can be read from buffer.

dictionary
IXmlDictionary

The XmlDictionary to use.

onClose
OnXmlDictionaryReaderClose

Delegate to be called when the reader is closed.

Returns

An instance of XmlDictionaryReader.

Exceptions

buffer is null.

count is less than zero or greater than the buffer length minus the offset.

-or-

offset is less than zero or greater than the buffer length.

Remarks

Other XmlDictionaryReader properties are set to default values or null.

Applies to

.NET 9 및 기타 버전
제품 버전
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1