XmlDictionaryReader.CreateMtomReader Metoda

Definicja

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

Przeciążenia

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie MTOM.

Uwagi

MtOM umożliwia użytkownikom optymalizowanie formatu transmisji i przewodu komunikatów PROTOKOŁU SOAP.

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

encodings
Encoding[]

Możliwe kodowanie znaków danych wejściowych.

contentType
String

Typ MIME typu zawartości komunikatu.

quotas
XmlDictionaryReaderQuotas

Element XmlDictionaryReaderQuotas do zastosowania do czytnika.

maxBufferSize
Int32

Maksymalny dozwolony rozmiar buforu.

onClose
OnXmlDictionaryReaderClose

Delegat, który ma być wywoływany po zamknięciu czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Ta metoda odczytuje z buforu z określonym przesunięciem i liczbą przy użyciu jednego z kodowań znaków określonych przez encodings, tablicy wystąpień Encoding. Komunikat ma określony typ MIME. Jeśli contentType ma wartość null, nagłówek MIME typu zawartości musi być obecny w komunikacie.

Dotyczy

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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

Strumień, z którego ma być odczytywany.

encodings
Encoding[]

Możliwe kodowanie znaków strumienia.

contentType
String

Typ MIME typu zawartości komunikatu.

quotas
XmlDictionaryReaderQuotas

Typ MIME komunikatu.

maxBufferSize
Int32

Element XmlDictionaryReaderQuotas do zastosowania do czytnika.

onClose
OnXmlDictionaryReaderClose

Delegat, który ma być wywoływany po zamknięciu czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Ta metoda odczytuje ze strumienia przy użyciu jednego z kodowań znaków określonych przez encodingsmetodę , tablicy wystąpień klasy Encoding. Komunikat ma określony typ MIME. Jeśli contentType ma wartość null, nagłówek MIME typu zawartości musi być obecny w komunikacie.

Dotyczy

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

encodings
Encoding[]

Możliwe kodowanie znaków danych wejściowych.

contentType
String

Typ MIME typu zawartości komunikatu.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Ta metoda odczytuje z buforu z określonym przesunięciem i liczbą przy użyciu jednego z kodowań znaków określonych przez encodings, tablicy wystąpień Encoding. Komunikat ma określony typ MIME. Jeśli contentType ma wartość null, nagłówek MIME typu zawartości musi być obecny w komunikacie.

Dotyczy

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

encodings
Encoding[]

Możliwe kodowanie znaków danych wejściowych.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Ta metoda odczytuje z buforu z określonym przesunięciem i liczbą przy użyciu jednego z kodowań znaków określonych przez encodings, tablicy wystąpień Encoding.

Dotyczy

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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

Strumień, z którego ma być odczytywany.

encoding
Encoding

Możliwe kodowanie znaków strumienia.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Wyjątki

encoding to null.

Uwagi

Ta metoda odczytuje ze strumienia przy użyciu kodowania znaków określonego przez encoding, wystąpienie klasy Encoding.

Dotyczy

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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

Strumień, z którego ma być odczytywany.

encodings
Encoding[]

Możliwe kodowanie znaków strumienia.

contentType
String

Typ MIME typu zawartości komunikatu.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Ta metoda odczytuje ze strumienia przy użyciu jednego z kodowań znaków określonych przez encodingsmetodę , tablicy wystąpień klasy Encoding. Komunikat ma określony typ MIME. Jeśli contentType ma wartość null, nagłówek MIME typu zawartości musi być obecny w komunikacie.

Dotyczy

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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

Strumień, z którego ma być odczytywany.

encodings
Encoding[]

Możliwe kodowanie znaków strumienia.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Wyjątki

encoding to null.

Uwagi

Ta metoda odczytuje ze strumienia przy użyciu jednego z kodowań znaków określonych przez encodingsmetodę , tablicy wystąpień klasy Encoding.

Dotyczy

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

Tworzy wystąpienie XmlDictionaryReader , które odczytuje kod XML w formacie 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[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

encoding
Encoding

Możliwe kodowanie znaków danych wejściowych.

quotas
XmlDictionaryReaderQuotas

Limity przydziału, które mają być stosowane do tego czytelnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Wyjątki

encoding to null.

Uwagi

Ta metoda odczytuje z buforu z określonym przesunięciem i liczbą przy użyciu kodowania znaków określonego przez encoding, wystąpienie Encodingklasy .

Dotyczy