IXmlMtomReaderInitializer.SetInput 메서드

정의

이 메서드를 구현하는 XML MTOM 판독기에 대한 초기화 요구 사항을 지정합니다.

오버로드

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

스트림을 읽는 XML MTOM 판독기에 대한 초기화 요구 사항을 지정합니다.

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

버퍼를 읽는 XML MTOM 판독기에 대한 초기화 요구 사항을 지정합니다.

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

스트림을 읽는 XML MTOM 판독기에 대한 초기화 요구 사항을 지정합니다.

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)

매개 변수

stream
Stream

읽어올 스트림입니다.

encodings
Encoding[]

스트림의 가능한 문자 인코딩입니다.

contentType
String

메시지의 콘텐츠 형식입니다. MIME 형식이 읽고 있는 문서에 있는 경우 null일 수 있습니다.

quotas
XmlDictionaryReaderQuotas

판독기에 적용할 XmlDictionaryReaderQuotas입니다.

maxBufferSize
Int32

허용되는 최대 버퍼 크기입니다.

onClose
OnXmlDictionaryReaderClose

onClose 이벤트 발생 시 사용할 대리자입니다.

적용 대상

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

버퍼를 읽는 XML MTOM 판독기에 대한 초기화 요구 사항을 지정합니다.

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)

매개 변수

buffer
Byte[]

읽어올 버퍼입니다.

offset
Int32

buffer에서 읽어올 시작 위치입니다.

count
Int32

buffer에서 읽을 수 있는 바이트 수입니다.

encodings
Encoding[]

입력의 가능한 문자 인코딩입니다.

contentType
String

메시지의 콘텐츠 형식입니다. MIME 형식이 읽고 있는 문서에 있는 경우 null일 수 있습니다.

quotas
XmlDictionaryReaderQuotas

판독기에 적용할 XmlDictionaryReaderQuotas입니다.

maxBufferSize
Int32

허용되는 최대 버퍼 크기입니다.

onClose
OnXmlDictionaryReaderClose

onClose 이벤트 발생 시 사용할 대리자입니다.

적용 대상