Editare

Partajați prin


IClientResponseChannelSinkStack.AsyncProcessResponse Method

Definition

Requests asynchronous processing of a method call on the sinks in the current sink stack.

public:
 void AsyncProcessResponse(System::Runtime::Remoting::Channels::ITransportHeaders ^ headers, System::IO::Stream ^ stream);
public void AsyncProcessResponse (System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream);
[System.Security.SecurityCritical]
public void AsyncProcessResponse (System.Runtime.Remoting.Channels.ITransportHeaders headers, System.IO.Stream stream);
abstract member AsyncProcessResponse : System.Runtime.Remoting.Channels.ITransportHeaders * System.IO.Stream -> unit
[<System.Security.SecurityCritical>]
abstract member AsyncProcessResponse : System.Runtime.Remoting.Channels.ITransportHeaders * System.IO.Stream -> unit
Public Sub AsyncProcessResponse (headers As ITransportHeaders, stream As Stream)

Parameters

headers
ITransportHeaders

The headers retrieved from the server response stream.

stream
Stream

The stream coming back from the transport sink.

Attributes

Exceptions

The current sink stack is empty.

The immediate caller does not have infrastructure permission.

Remarks

The AsyncProcessResponse method initializes asynchronous processing on the top sink in the current sink stack. For additional information, see IClientChannelSink.AsyncProcessResponse.

Applies to