IServerResponseChannelSinkStack.GetResponseStream 方法

定义

返回指定的消息要序列化到其上的 Stream

public:
 System::IO::Stream ^ GetResponseStream(System::Runtime::Remoting::Messaging::IMessage ^ msg, System::Runtime::Remoting::Channels::ITransportHeaders ^ headers);
public System.IO.Stream GetResponseStream (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers);
[System.Security.SecurityCritical]
public System.IO.Stream GetResponseStream (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers);
abstract member GetResponseStream : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders -> System.IO.Stream
[<System.Security.SecurityCritical>]
abstract member GetResponseStream : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders -> System.IO.Stream
Public Function GetResponseStream (msg As IMessage, headers As ITransportHeaders) As Stream

参数

msg
IMessage

要序列化到请求流上的消息。

headers
ITransportHeaders

从服务器响应流中检索到的标头。

返回

指定的消息要序列化到其上的 Stream

属性

例外

直接调用方没有基础结构权限。

适用于