XmlDictionaryReader.CreateMtomReader Metoda

Definice

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

Přetížení

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

Poznámky

MTOM umožňuje uživatelům optimalizovat přenos a formát přenosu zpráv SOAP.

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

Parametry

buffer
Byte[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encodings
Encoding[]

Možné kódování znaků vstupu.

contentType
String

Typ MIME typu content-type zprávy.

quotas
XmlDictionaryReaderQuotas

To XmlDictionaryReaderQuotas platí pro čtenáře.

maxBufferSize
Int32

Maximální povolená velikost vyrovnávací paměti.

onClose
OnXmlDictionaryReaderClose

Delegát, který se má volat při zavření čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Tato metoda čte z vyrovnávací paměti se zadaným posunem a počtem pomocí jednoho z kódování znaků určených encodings, pole instancí .Encoding Zpráva je zadaného typu MIME. Pokud contentType ano null, hlavička MIME typu content-type musí být přítomna ve zprávě.

Platí pro

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

Parametry

stream
Stream

Datový proud, ze kterého se má číst.

encodings
Encoding[]

Možné kódování znaků datového proudu.

contentType
String

Typ MIME typu content-type zprávy.

quotas
XmlDictionaryReaderQuotas

Typ MIME zprávy.

maxBufferSize
Int32

To XmlDictionaryReaderQuotas platí pro čtenáře.

onClose
OnXmlDictionaryReaderClose

Delegát, který se má volat při zavření čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Tato metoda čte ze streamu pomocí jednoho z kódování znaků určených encodingspomocí pole instancí .Encoding Zpráva je zadaného typu MIME. Pokud contentType ano null, hlavička MIME typu content-type musí být přítomna ve zprávě.

Platí pro

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

buffer
Byte[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encodings
Encoding[]

Možné kódování znaků vstupu.

contentType
String

Typ MIME typu content-type zprávy.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Tato metoda čte z vyrovnávací paměti se zadaným posunem a počtem pomocí jednoho z kódování znaků určených encodings, pole instancí .Encoding Zpráva je zadaného typu MIME. Pokud contentType ano null, hlavička MIME typu content-type musí být přítomna ve zprávě.

Platí pro

CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

buffer
Byte[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encodings
Encoding[]

Možné kódování znaků vstupu.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Tato metoda čte z vyrovnávací paměti se zadaným posunem a počtem pomocí jednoho z kódování znaků určených encodings, pole instancí .Encoding

Platí pro

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

stream
Stream

Datový proud, ze kterého se má číst.

encoding
Encoding

Možné kódování znaků datového proudu.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Výjimky

encoding je null.

Poznámky

Tato metoda čte ze streamu pomocí kódování znaků určených encodingEncodinginstancí .

Platí pro

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

stream
Stream

Datový proud, ze kterého se má číst.

encodings
Encoding[]

Možné kódování znaků datového proudu.

contentType
String

Typ MIME typu content-type zprávy.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Tato metoda čte ze streamu pomocí jednoho z kódování znaků určených encodingspomocí pole instancí .Encoding Zpráva je zadaného typu MIME. Pokud contentType ano null, hlavička MIME typu content-type musí být přítomna ve zprávě.

Platí pro

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

stream
Stream

Datový proud, ze kterého se má číst.

encodings
Encoding[]

Možné kódování znaků datového proudu.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Výjimky

encoding je null.

Poznámky

Tato metoda čte ze streamu pomocí jednoho z kódování znaků určených encodingspomocí pole instancí .Encoding

Platí pro

CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)

Vytvoří instanci XmlDictionaryReader , která čte XML ve formátu MTOM.

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parametry

buffer
Byte[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encoding
Encoding

Možné kódování znaků vstupu.

quotas
XmlDictionaryReaderQuotas

Kvóty, které se mají použít pro tohoto čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Výjimky

encoding je null.

Poznámky

Tato metoda čte z vyrovnávací paměti se zadaným posunem a počtem znaků pomocí kódování znaků určeného encoding, instance .Encoding

Platí pro