StreamBodyWriter.OnWriteBodyContents Method

Definition

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