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)
static member CreateBinaryWriter : stream:Stream * dictionary:IXmlDictionary * session:XmlBinaryWriterSession * ownsStream:bool -> XmlDictionaryWriter
- 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.