Edit

Share via


IMessageSink.AsyncProcessMessage(IMessage, IMessageSink) Method

Definition

Asynchronously processes the given message.

public System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink);
[System.Security.SecurityCritical]
public System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink);

Parameters

msg
IMessage

The message to process.

replySink
IMessageSink

The reply sink for the reply message.

Returns

An IMessageCtrl interface that provides a way to control asynchronous messages after they have been dispatched.

Attributes

Exceptions

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Remarks

This method is invoked on the message sink by the remoting infrastructure or by a previous sink for asynchronous messages.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1