Aracılığıyla paylaş


IXmlMtomReaderInitializer.SetInput Yöntem

Tanım

Bu yöntemi uygulayan XML MTOM okuyucuları için başlatma gereksinimlerini belirtir.

Aşırı Yüklemeler

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

Akışı okuyan XML MTOM okuyucuları için başlatma gereksinimlerini belirtir.

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

Bir arabelleği okuyan XML MTOM okuyucuları için başlatma gereksinimlerini belirtir.

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

Akışı okuyan XML MTOM okuyucuları için başlatma gereksinimlerini belirtir.

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)

Parametreler

stream
Stream

Okunacak akış.

encodings
Encoding[]

Akışın olası karakter kodlamaları.

contentType
String

İletinin İçerik Türü. Okunan belgede MIME türü varsa olabilir null .

maxBufferSize
Int32

Arabelleğin izin verilen en büyük boyutu.

onClose
OnXmlDictionaryReaderClose

Bir onClose olay gerçekleştiğinde kullanılacak temsilci.

Şunlara uygulanır

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

Bir arabelleği okuyan XML MTOM okuyucuları için başlatma gereksinimlerini belirtir.

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)

Parametreler

buffer
Byte[]

Okunacak arabellek.

offset
Int32

içinde okunacak bufferbaşlangıç konumu.

count
Int32

'den bufferokunabilen bayt sayısı.

encodings
Encoding[]

Girişin olası karakter kodlamaları.

contentType
String

İletinin İçerik Türü. Okunan belgede MIME türü varsa olabilir null .

maxBufferSize
Int32

Arabelleğin izin verilen en büyük boyutu.

onClose
OnXmlDictionaryReaderClose

Bir onClose olay gerçekleştiğinde kullanılacak temsilci.

Şunlara uygulanır