IXmlMtomWriterInitializer.SetOutput 메서드

정의

MTOM 작성기에 의한 구현 시 MTOM 작성기를 초기화합니다.

public:
 void SetOutput(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int maxSizeInBytes, System::String ^ startInfo, System::String ^ boundary, System::String ^ startUri, bool writeMessageHeaders, bool ownsStream);
public void SetOutput (System.IO.Stream stream, System.Text.Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream);
abstract member SetOutput : System.IO.Stream * System.Text.Encoding * int * string * string * string * bool * bool -> unit
Public Sub SetOutput (stream As Stream, encoding As Encoding, maxSizeInBytes As Integer, startInfo As String, boundary As String, startUri As String, writeMessageHeaders As Boolean, ownsStream As Boolean)

매개 변수

stream
Stream

쓸 스트림입니다.

encoding
Encoding

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

maxSizeInBytes
Int32

작성기에서 버퍼링되는 최대 바이트 수입니다.

startInfo
String

"Application/soap+xml"로 설정된 ContentType SOAP 헤더의 특성입니다.

boundary
String

MIME 경계 문자열입니다.

startUri
String

MIME 섹션용 URI입니다.

writeMessageHeaders
Boolean

true이면 메시지 헤더를 작성합니다.

ownsStream
Boolean

완료될 때 작성기에서 스트림이 닫힘을 나타내려면 true이고, 그러지 않으면 false입니다.

적용 대상