SdlChannelSink.GetResponseStream Method

Definition

Returns the Stream onto which the provided response message is to be serialized.

public System.IO.Stream GetResponseStream (System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack sinkStack, object state, System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers);

Parameters

sinkStack
IServerResponseChannelSinkStack

A stack of sinks that lead back to the server transport sink.

state
Object

Information associated with the current sink, generated on the request side, and needed on the response side.

msg
IMessage

The response message to serialize.

headers
ITransportHeaders

The headers to put in the response stream to the client.

Returns

The Stream onto which the provided response message is to be serialized.

Implements

Remarks

The current method is called when a response stream needs to be created.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also