IDuplexSessionRouter 接口
定义
定义从双工会话通道处理消息时所需的接口。Defines the interface required to process messages from duplex session channels.
public interface class IDuplexSessionRouter
[System.ServiceModel.ServiceContract(CallbackContract=typeof(System.ServiceModel.Routing.IDuplexRouterCallback), Namespace="http://schemas.microsoft.com/netfx/2009/05/routing", SessionMode=System.ServiceModel.SessionMode.Required)]
public interface IDuplexSessionRouter
[<System.ServiceModel.ServiceContract(CallbackContract=typeof(System.ServiceModel.Routing.IDuplexRouterCallback), Namespace="http://schemas.microsoft.com/netfx/2009/05/routing", SessionMode=System.ServiceModel.SessionMode.Required)>]
type IDuplexSessionRouter = interface
Public Interface IDuplexSessionRouter
- 派生
- 属性
注解
此协定具有下列设置:This contract has the following settings:
- 会话是必需的。Sessions are required.
方法
| BeginProcessMessage(Message, AsyncCallback, Object) |
启动消息的异步处理。Initiates the asynchronous processing of the message. |
| EndProcessMessage(IAsyncResult) |
完成消息处理的异步执行。Finishes asynchronous execution of message processing. |