Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WS_XML_WRITER_MTOM_ENCODING structure

Used to indicate that the reader should emit bytes in MTOM format. The MTOM format will represent bytes written to it as binary mime parts rather than embedded base64 encoded text.

Syntax


struct WS_XML_WRITER_MTOM_ENCODING {
  WS_XML_WRITER_ENCODING  encoding;
  WS_XML_WRITER_ENCODING* textEncoding;
  BOOL                    writeMimeHeader;
  WS_STRING               boundary;
  WS_STRING               startInfo;
  WS_STRING               startUri;
  ULONG                   maxInlineByteCount;
};

Members

encoding

The base type for all types that derive from WS_XML_WRITER_ENCODING.

textEncoding

Specifies the encoding of the xml document carried by MTOM.

writeMimeHeader

Specifies whether or not the writer should emit a MIME header.

boundary

Specifies the character sequence that should be used to delimit the mime parts. This corresponds to the "boundary" parameter of the MIME Content-Type.

startInfo

Specifies the type used by the mime part that contains the xml. This correpsonds to the "start-info" parameter in the of the MIME Content-Type.

startUri

Specifies the mime part that contains the xml. This corresponds to the "start" parameter of the MIME Content-Type.

maxInlineByteCount

Specifies the threshold at which the writer will not write base64 encoded text and instead write a binary mime part for binary data.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Community Additions

Show:
© 2017 Microsoft