Edit

Share via


FederationMessage.Write(TextWriter) Method

Definition

When overridden in a derived class, writes the message to the output stream.

public:
 abstract void Write(System::IO::TextWriter ^ writer);
public abstract void Write (System.IO.TextWriter writer);
abstract member Write : System.IO.TextWriter -> unit
Public MustOverride Sub Write (writer As TextWriter)

Parameters

writer
TextWriter

The text writer to which the message is written out.

Notes to Implementers

You must override this method in derived classes. Your implementation should validate the message and throw an appropriate exception before writing it.

Applies to