XmlDictionaryReader.CreateMtomReader Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
Túlterhelések
Megjegyzések
Az MTOM lehetővé teszi a felhasználók számára a SOAP-üzenetek átvitelének és vezetékes formátumának optimalizálását.
CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- buffer
- Byte[]
Az a puffer, amelyből olvasni szeretne.
- offset
- Int32
Az a kezdő pozíció, amelyből beolvasható buffer.
- count
- Int32
A beolvasható bufferbájtok száma.
- encodings
- Encoding[]
A bemenet lehetséges karakterkódolásai.
- contentType
- String
Az üzenet tartalomtípusú MIME-típusa.
- quotas
- XmlDictionaryReaderQuotas
Az XmlDictionaryReaderQuotas olvasóra alkalmazandó.
- maxBufferSize
- Int32
A puffer megengedett maximális mérete.
- onClose
- OnXmlDictionaryReaderClose
Az olvasó bezárásakor meghívandó meghatalmazott.
Válaszok
Egy példány.XmlDictionaryReader
Megjegyzések
Ez a metódus egy adott eltolással és számlálóval rendelkező pufferből olvas be, a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding. Az üzenet a megadott MIME-típus. Ha contentType igen null, akkor a Tartalom típusú MIME fejlécnek szerepelnie kell az üzenetben.
A következőre érvényes:
CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- stream
- Stream
Az a stream, amelyből olvasni szeretne.
- encodings
- Encoding[]
A stream lehetséges karakterkódolásai.
- contentType
- String
Az üzenet tartalomtípusú MIME-típusa.
- quotas
- XmlDictionaryReaderQuotas
Az üzenet MIME-típusa.
- maxBufferSize
- Int32
Az XmlDictionaryReaderQuotas olvasóra alkalmazandó.
- onClose
- OnXmlDictionaryReaderClose
Az olvasó bezárásakor meghívandó meghatalmazott.
Válaszok
Egy példány.XmlDictionaryReader
Megjegyzések
Ez a metódus egy streamből olvas be a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding. Az üzenet a megadott MIME-típus. Ha contentType igen null, akkor a Tartalom típusú MIME fejlécnek szerepelnie kell az üzenetben.
A következőre érvényes:
CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- buffer
- Byte[]
Az a puffer, amelyből olvasni szeretne.
- offset
- Int32
Az a kezdő pozíció, amelyből beolvasható buffer.
- count
- Int32
A beolvasható bufferbájtok száma.
- encodings
- Encoding[]
A bemenet lehetséges karakterkódolásai.
- contentType
- String
Az üzenet tartalomtípusú MIME-típusa.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Megjegyzések
Ez a metódus egy adott eltolással és számlálóval rendelkező pufferből olvas be, a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding. Az üzenet a megadott MIME-típus. Ha contentType igen null, akkor a Tartalom típusú MIME fejlécnek szerepelnie kell az üzenetben.
A következőre érvényes:
CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- buffer
- Byte[]
Az a puffer, amelyből olvasni szeretne.
- offset
- Int32
Az a kezdő pozíció, amelyből beolvasható buffer.
- count
- Int32
A beolvasható bufferbájtok száma.
- encodings
- Encoding[]
A bemenet lehetséges karakterkódolásai.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Megjegyzések
Ez a metódus egy adott eltolással és számlálóval rendelkező pufferből olvas be, a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding.
A következőre érvényes:
CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- stream
- Stream
Az a stream, amelyből olvasni szeretne.
- encoding
- Encoding
A stream lehetséges karakterkódolása.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Kivételek
encoding az null.
Megjegyzések
Ez a metódus egy streamből olvas be, az adott példány encodingáltal Encodingmegadott karakterkódolással.
A következőre érvényes:
CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- stream
- Stream
Az a stream, amelyből olvasni szeretne.
- encodings
- Encoding[]
A stream lehetséges karakterkódolásai.
- contentType
- String
Az üzenet tartalomtípusú MIME-típusa.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Megjegyzések
Ez a metódus egy streamből olvas be a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding. Az üzenet a megadott MIME-típus. Ha contentType igen null, akkor a Tartalom típusú MIME fejlécnek szerepelnie kell az üzenetben.
A következőre érvényes:
CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- stream
- Stream
Az a stream, amelyből olvasni szeretne.
- encodings
- Encoding[]
A stream lehetséges karakterkódolásai.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Kivételek
encodings az null.
Megjegyzések
Ez a metódus egy streamből olvas be a példányok tömbje által encodingsmegadott karakterkódolások egyikével Encoding.
A következőre érvényes:
CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
- Forrás:
- XmlDictionaryReader.cs
Létrehoz egy olyan példányt XmlDictionaryReader , amely MTOM formátumban olvassa be az XML-t.
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
Paraméterek
- buffer
- Byte[]
Az a puffer, amelyből olvasni szeretne.
- offset
- Int32
Az a kezdő pozíció, amelyből beolvasható buffer.
- count
- Int32
A beolvasható bufferbájtok száma.
- encoding
- Encoding
A bemenet lehetséges karakterkódolása.
- quotas
- XmlDictionaryReaderQuotas
Az olvasóra alkalmazandó kvóták.
Válaszok
Egy példány.XmlDictionaryReader
Kivételek
encoding az null.
Megjegyzések
Ez a metódus egy adott eltolással és számlálóval rendelkező pufferből olvas be, az adott példány encodingáltal Encodingmegadott karakterkódolás használatával.