Bagikan melalui


IServerResponseChannelSinkStack.GetResponseStream Metode

Definisi

Mengembalikan ke tempat Stream pesan yang ditentukan akan diserialisasikan.

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

Parameter

msg
IMessage

Pesan yang akan diserialisasikan ke aliran yang diminta.

headers
ITransportHeaders

Header yang diambil dari aliran respons server.

Mengembalikan

tempat Stream pesan yang ditentukan akan diserialisasikan.

Atribut

Pengecualian

Pemanggil langsung tidak memiliki izin infrastruktur.

Berlaku untuk