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.
XmlDictionaryWriter::CreateMtomWriter Method (Stream^, Encoding^, Int32, String^)
.NET Framework (current version)
Creates an instance of XmlDictionaryWriter that writes XML in the MTOM format.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
public: static XmlDictionaryWriter^ CreateMtomWriter( Stream^ stream, Encoding^ encoding, int maxSizeInBytes, String^ startInfo )
Parameters
- stream
-
Type:
System.IO::Stream^
The stream to write to.
- encoding
-
Type:
System.Text::Encoding^
The character encoding of the stream.
- maxSizeInBytes
-
Type:
System::Int32
The maximum number of bytes that are buffered in the writer.
- startInfo
-
Type:
System::String^
An attribute in the ContentType SOAP header.
.NET Framework
Available since 3.0
Available since 3.0
Show: