Condividi tramite


IXmlMtomReaderInitializer.SetInput Metodo

Definizione

Specifica i requisiti di inizializzazione per i reader MTOM XML che implementano questo metodo.

Overload

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

Specifica i requisiti di inizializzazione per i reader MTOM XML che leggono un flusso.

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

Specifica i requisiti di inizializzazione per i reader MTOM XML che leggono un buffer.

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

Specifica i requisiti di inizializzazione per i reader MTOM XML che leggono un flusso.

public:
 void SetInput(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput (System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose)

Parametri

stream
Stream

Il flusso da cui eseguire la lettura.

encodings
Encoding[]

Possibili codifiche di caratteri del flusso.

contentType
String

Content-Type del messaggio. Può essere null se nel documento letto è presente il tipo MIME.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas da applicare al reader.

maxBufferSize
Int32

Dimensione massima consentita del buffer.

onClose
OnXmlDictionaryReaderClose

Delegato da utilizzare quando si verifica un evento onClose.

Si applica a

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

Specifica i requisiti di inizializzazione per i reader MTOM XML che leggono un buffer.

public:
 void SetInput(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 void SetInput (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : byte[] * int * int * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose)

Parametri

buffer
Byte[]

Il buffer da cui eseguire la lettura.

offset
Int32

Posizione iniziale dalla quale leggere nel buffer.

count
Int32

Numero di byte che possono essere letti dal buffer.

encodings
Encoding[]

Possibili codifiche di caratteri dell'input.

contentType
String

Content-Type del messaggio. Può essere null se nel documento letto è presente il tipo MIME.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas da applicare al reader.

maxBufferSize
Int32

Dimensione massima consentita del buffer.

onClose
OnXmlDictionaryReaderClose

Delegato da utilizzare quando si verifica un evento onClose.

Si applica a