ISimplexSessionRouter.BeginProcessMessage 方法

定义

启动消息的异步处理。

public:
 IAsyncResult ^ BeginProcessMessage(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=true)]
public IAsyncResult BeginProcessMessage (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, IsOneWay=true)>]
abstract member BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginProcessMessage (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult

参数

message
Message

要处理的消息。

callback
AsyncCallback

在消息处理完成时将调用的异步回调委托。

state
Object

传递到回调过程的用户定义的状态对象。

返回

IAsyncResult

可用于轮询和/或等待结果的异步结果;当调用 EndProcessMessage(IAsyncResult) 时,也需要该值。

属性

适用于