System.Runtime.Remoting.Channels.IServerChannelSink.GetResponseStream Method

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

Syntax

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

Parameters

sinkStack
A stack of sinks leading back to the server transport sink.
state
The state that has been pushed to the stack by this sink.
msg
The response message to serialize.
headers
The headers to put in the response stream to the client.

Returns

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

Remarks

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

Requirements

Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0