Compartilhar via


ServerChannelSinkStack.GetResponseStream(IMessage, ITransportHeaders) Método

Definição

Retorna o Stream no qual a mensagem especificada deve ser serializada.

public:
 virtual 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
override this.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
override this.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

Parâmetros

msg
IMessage

A mensagem a ser serializada para o fluxo solicitado.

headers
ITransportHeaders

Os cabeçalhos recuperados do fluxo de resposta do servidor.

Retornos

Stream

O Stream no qual a mensagem especificada deve ser serializada.

Implementações

Atributos

Exceções

A pilha de coletores está vazia.

Comentários

Esse método retorna o fluxo retornado pelo chamado com os parâmetros e ( , )) no IServerChannelSink.GetResponseStream sink top na pilha de sink msg headers GetResponseStream msg headers atual. O principal sink na pilha do sink permanece inalterado.

Aplica-se a