Message.WriteBody Método

Definição

Serializa o elemento do corpo para XML.Serializes the body element to XML.

Sobrecargas

WriteBody(XmlDictionaryWriter)

Grava o elemento de corpo usando o XmlDictionaryWriter especificado.Writes the body element using the specified XmlDictionaryWriter.

WriteBody(XmlWriter)

Serializa o corpo da mensagem usando o XmlWriter especificado.Serializes the message body using the specified XmlWriter.

Comentários

Esse método grava o conteúdo do corpo, bem como as marcas de início e término do elemento.This method writes the body contents as well as the start and end tags of the element.

WriteBody(XmlDictionaryWriter)

Grava o elemento de corpo usando o XmlDictionaryWriter especificado.Writes the body element using the specified XmlDictionaryWriter.

public:
 void WriteBody(System::Xml::XmlDictionaryWriter ^ writer);
public void WriteBody (System.Xml.XmlDictionaryWriter writer);
member this.WriteBody : System.Xml.XmlDictionaryWriter -> unit
Public Sub WriteBody (writer As XmlDictionaryWriter)

Parâmetros

writer
XmlDictionaryWriter

Um objeto XmlDictionaryWriter a ser usado para escrever o elemento de corpo.An XmlDictionaryWriter object to be used to write the body element.

Exceções

writer é null.writer is null.

Comentários

Esse método grava o conteúdo do corpo, bem como as marcas de início e término do elemento.This method writes the body contents as well as the start and end tags of the element.

Aplica-se a

WriteBody(XmlWriter)

Serializa o corpo da mensagem usando o XmlWriter especificado.Serializes the message body using the specified XmlWriter.

public:
 void WriteBody(System::Xml::XmlWriter ^ writer);
public void WriteBody (System.Xml.XmlWriter writer);
member this.WriteBody : System.Xml.XmlWriter -> unit
Public Sub WriteBody (writer As XmlWriter)

Parâmetros

writer
XmlWriter

O objeto XmlWriter a ser usado para escrever o corpo da mensagem.The XmlWriter object to be used to write the body of the message.

Exceções

writer é null.writer is null.

A mensagem é descartada.The message is disposed.

Comentários

Esse método grava o conteúdo do corpo, bem como as marcas de início e término do elemento.This method writes the body contents as well as the start and end tags of the element.

Aplica-se a