IXmlMtomWriterInitializer.SetOutput 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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
ContentType SOAP 헤더의 특성으로, "Application/soap+xml"로 설정됩니다.
- boundary
- String
MIME 경계 문자열입니다.
- startUri
- String
MIME에 대한 URI 섹션입니다.
- writeMessageHeaders
- Boolean
이면 true메시지 헤더를 씁니다.
- ownsStream
- Boolean
true완료되면 기록기가 스트림을 닫음을 나타냅니다. 그렇지 않으면 . false