Condividi tramite


BinaryServerFormatterSink.AsyncProcessResponse Metodo

Definizione

Richiede l'elaborazione della risposta da una chiamata al metodo inviata in modo asincrono.

public:
 virtual void AsyncProcessResponse(System::Runtime::Remoting::Channels::IServerResponseChannelSinkStack ^ sinkStack, System::Object ^ state, System::Runtime::Remoting::Messaging::IMessage ^ msg, System::Runtime::Remoting::Channels::ITransportHeaders ^ headers, System::IO::Stream ^ stream);
public void AsyncProcessResponse (System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack sinkStack, object state, System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream);
abstract member AsyncProcessResponse : System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack * obj * System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders * System.IO.Stream -> unit
override this.AsyncProcessResponse : System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack * obj * System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders * System.IO.Stream -> unit
Public Sub AsyncProcessResponse (sinkStack As IServerResponseChannelSinkStack, state As Object, msg As IMessage, headers As ITransportHeaders, stream As Stream)

Parametri

sinkStack
IServerResponseChannelSinkStack

Stack di sink che riconduce al sink di trasporto del server.

state
Object

Informazioni associate al sink corrente, generate sul lato richiesta e necessarie sul lato risposta.

msg
IMessage

Messaggio di risposta.

headers
ITransportHeaders

Intestazioni da aggiungere al messaggio restituito diretto al client.

stream
Stream

Flusso diretto di nuovo al sink di trasporto.

Implementazioni

Si applica a

Vedi anche