IXmlMtomReaderInitializer.SetInput 메서드

정의

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

오버로드

Name Description
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 .

적용 대상