Redigera

Dela via


IDuplexSessionRouter Interface

Definition

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
Derived
Attributes

Remarks

This contract has the following settings:

  • Sessions are required.

Methods

BeginProcessMessage(Message, AsyncCallback, Object)

Initiates the asynchronous processing of the message.

EndProcessMessage(IAsyncResult)

Finishes asynchronous execution of message processing.

Applies to