共用方式為


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,指定訊息將在其上序列化。

屬性

例外狀況

立即呼叫端沒有基礎結構使用權限。

適用於