SoapClientFormatterSink.AsyncProcessMessage(IMessage, IMessageSink) 方法

定义

异步处理提供的消息。

public:
 virtual System::Runtime::Remoting::Messaging::IMessageCtrl ^ AsyncProcessMessage(System::Runtime::Remoting::Messaging::IMessage ^ msg, System::Runtime::Remoting::Messaging::IMessageSink ^ replySink);
public System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink);
abstract member AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
override this.AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
Public Function AsyncProcessMessage (msg As IMessage, replySink As IMessageSink) As IMessageCtrl

参数

msg
IMessage

要处理的消息。

replySink
IMessageSink

接收器,将接收对所提供消息的答复。

返回

IMessageCtrl,提供一种在调度异步消息之后控制该消息的方法。

实现

适用于