RoutingService.IDuplexSessionRouter.BeginProcessMessage 方法

定义

启动消息的异步处理。

 virtual IAsyncResult ^ System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::Routing::IDuplexSessionRouter::BeginProcessMessage;
[System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)]
IAsyncResult IDuplexSessionRouter.BeginProcessMessage (System.ServiceModel.Channels.Message message, AsyncCallback callback, object state);
[<System.ServiceModel.OperationBehavior(Impersonation=System.ServiceModel.ImpersonationOption.Allowed)>]
abstract member System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.Routing.IDuplexSessionRouter.BeginProcessMessage : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Function BeginProcessMessage (message As Message, callback As AsyncCallback, state As Object) As IAsyncResult Implements IDuplexSessionRouter.BeginProcessMessage

参数

message
Message

要处理的 Message

callback
AsyncCallback

在消息处理完成时将调用的 AsyncCallback 委托。

state
Object

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

返回

IAsyncResult

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

实现

属性

注解

有关使用 IDuplexSessionRouter 协定的更多信息,请参见 IDuplexSessionRouter

适用于