XmlDictionaryWriter.CreateBinaryWriter Method (Stream, IXmlDictionary, XmlBinaryWriterSession, Boolean)
.NET Framework 4.5
Creates an instance of XmlDictionaryWriter that writes WCF binary XML format.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
public static XmlDictionaryWriter CreateBinaryWriter( Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream )
- Type: System.IO.Stream
The stream from which to read.
- Type: System.Boolean
true to indicate that the stream is closed by the writer when done; otherwise false.