System.Runtime.Remoting.Channels.ServerChannelSinkStack.GetResponseStream Method

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

Syntax

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

Parameters

msg
The message to be serialized onto the requested stream.
headers
The headers retrieved from the server response stream.

Returns

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

Remarks

This method returns the stream returned by the IServerChannelSink.GetResponseStream(IServerResponseChannelSinkStack, object, System.Runtime.Remoting.Messaging.IMessage, ITransportHeaders) called with the msg and headers parameters (IServerChannelSink.GetResponseStream(IServerResponseChannelSinkStack, object, System.Runtime.Remoting.Messaging.IMessage, ITransportHeaders) (msg, headers)) on the top sink in the current sink stack. The top sink in the sink stack remains unchanged.

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