XmlDictionaryReader.CreateMtomReader Metodo

Definizione

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

Overload

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

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

Crea un'istanza di XmlDictionaryReader che legge XML nel formato MTOM.

Commenti

MTOM consente agli utenti di ottimizzare il formato di trasmissione e trasmissione dei messaggi SOAP.

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

buffer
Byte[]

Buffer da cui leggere.

offset
Int32

Posizione iniziale da cui leggere in buffer.

count
Int32

Numero di byte che possono essere letti da buffer.

encodings
Encoding[]

Possibili codifiche di caratteri dell'input.

contentType
String

Tipo MIME di contenuto del messaggio.

quotas
XmlDictionaryReaderQuotas

Oggetto XmlDictionaryReaderQuotas da applicare al lettore.

maxBufferSize
Int32

Dimensione massima consentita del buffer.

onClose
OnXmlDictionaryReaderClose

Delegato da chiamare quando il lettore viene chiuso.

Valori restituiti

Istanza di XmlDictionaryReader.

Commenti

Questo metodo legge da un buffer con un offset e un conteggio specificati, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding. Il messaggio è del tipo MIME specificato. Se contentType è null, l'intestazione MIME Content-Type deve essere presente nel messaggio.

Si applica a

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

stream
Stream

Flusso da cui leggere.

encodings
Encoding[]

Possibili codifiche di caratteri del flusso.

contentType
String

Tipo MIME di contenuto del messaggio.

quotas
XmlDictionaryReaderQuotas

Tipo MIME del messaggio.

maxBufferSize
Int32

Oggetto XmlDictionaryReaderQuotas da applicare al lettore.

onClose
OnXmlDictionaryReaderClose

Delegato da chiamare quando il lettore viene chiuso.

Valori restituiti

Istanza di XmlDictionaryReader.

Commenti

Questo metodo legge da un flusso, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding. Il messaggio è del tipo MIME specificato. Se contentType è null, l'intestazione MIME Content-Type deve essere presente nel messaggio.

Si applica a

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

buffer
Byte[]

Buffer da cui leggere.

offset
Int32

Posizione iniziale da cui leggere in buffer.

count
Int32

Numero di byte che possono essere letti da buffer.

encodings
Encoding[]

Possibili codifiche di caratteri dell'input.

contentType
String

Tipo MIME di contenuto del messaggio.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Commenti

Questo metodo legge da un buffer con un offset e un conteggio specificati, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding. Il messaggio è del tipo MIME specificato. Se contentType è null, l'intestazione MIME Content-Type deve essere presente nel messaggio.

Si applica a

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

buffer
Byte[]

Buffer da cui leggere.

offset
Int32

Posizione iniziale da cui leggere in buffer.

count
Int32

Numero di byte che possono essere letti da buffer.

encodings
Encoding[]

Possibili codifiche di caratteri dell'input.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Commenti

Questo metodo legge da un buffer con un offset e un conteggio specificati, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding.

Si applica a

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

stream
Stream

Flusso da cui leggere.

encoding
Encoding

Codifica dei caratteri possibile del flusso.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Eccezioni

encoding è null.

Commenti

Questo metodo legge da un flusso, usando la codifica dei caratteri specificata da encoding, un'istanza di Encoding.

Si applica a

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

stream
Stream

Flusso da cui leggere.

encodings
Encoding[]

Possibili codifiche di caratteri del flusso.

contentType
String

Tipo MIME di contenuto del messaggio.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Commenti

Questo metodo legge da un flusso, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding. Il messaggio è del tipo MIME specificato. Se contentType è null, l'intestazione MIME Content-Type deve essere presente nel messaggio.

Si applica a

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

stream
Stream

Flusso da cui leggere.

encodings
Encoding[]

Possibili codifiche di caratteri del flusso.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Eccezioni

encodings è null.

Commenti

Questo metodo legge da un flusso, usando una delle codifiche dei caratteri specificate da encodings, una matrice di istanze di Encoding.

Si applica a

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

Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs
Origine:
XmlDictionaryReader.cs

Crea un'istanza di XmlDictionaryReader che legge XML nel formato 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

Parametri

buffer
Byte[]

Buffer da cui leggere.

offset
Int32

Posizione iniziale da cui leggere in buffer.

count
Int32

Numero di byte che possono essere letti da buffer.

encoding
Encoding

Codifica dei caratteri possibile dell'input.

quotas
XmlDictionaryReaderQuotas

Quote da applicare al lettore.

Valori restituiti

Istanza di XmlDictionaryReader.

Eccezioni

encoding è null.

Commenti

Questo metodo legge da un buffer con un offset e un conteggio specificati, usando la codifica dei caratteri specificata da encoding, un'istanza di Encoding.

Si applica a