C# Class Microsoft.Protocols.TestSuites.Common.ResponseMessageBodyWriter

A class is used to construct the body of the response message.
Inheritance: System.ServiceModel.Channels.BodyWriter
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
ResponseMessageBodyWriter ( Encoding encoding, Stream bodyStream ) : System.IO

Initializes a new instance of the ResponseMessageBodyWriter class with the specified encoding type and body stream.

Protected Methods

Method Description
OnWriteBodyContents ( System writer ) : void

Override the method to write the content to the xml dictionary writer.

Method Details

OnWriteBodyContents() protected method

Override the method to write the content to the xml dictionary writer.
protected OnWriteBodyContents ( System writer ) : void
writer System Specify the output destination of the content.
return void

ResponseMessageBodyWriter() public method

Initializes a new instance of the ResponseMessageBodyWriter class with the specified encoding type and body stream.
public ResponseMessageBodyWriter ( Encoding encoding, Stream bodyStream ) : System.IO
encoding System.Text.Encoding Specify the encoding type.
bodyStream System.IO.Stream Specify the body stream.
return System.IO