StreamBodyWriter.OnWriteBodyContents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this method to handle writing the message body contents.
Overloads
OnWriteBodyContents(Stream) |
Override this method to handle writing the message body contents. |
OnWriteBodyContents(XmlDictionaryWriter) |
Override this method to handle writing the message body contents. |
OnWriteBodyContents(Stream)
Override this method to handle writing the message body contents.
protected:
abstract void OnWriteBodyContents(System::IO::Stream ^ stream);
protected abstract void OnWriteBodyContents (System.IO.Stream stream);
override this.OnWriteBodyContents : System.IO.Stream -> unit
Protected MustOverride Sub OnWriteBodyContents (stream As Stream)
Parameters
- stream
- Stream
The stream to write to.
Applies to
OnWriteBodyContents(XmlDictionaryWriter)
Override this method to handle writing the message body contents.
protected:
override void OnWriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer);
protected override void OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer);
override this.OnWriteBodyContents : System.Xml.XmlDictionaryWriter -> unit
Protected Overrides Sub OnWriteBodyContents (writer As XmlDictionaryWriter)
Parameters
- writer
- XmlDictionaryWriter
The writer to write to.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.