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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for