2 using System
.Collections
.Generic
;
3 using System
.Collections
.ObjectModel
;
4 using System
.ServiceModel
;
5 using System
.ServiceModel
.Channels
;
6 using System
.ServiceModel
.Description
;
7 using System
.ServiceModel
.Dispatcher
;
9 namespace System
.ServiceModel
.Routing
11 // I guess there should be [ServiceContract] here.
12 [ServiceContract (Namespace
= "http://schemas.microsoft.com/netfx/2009/05/routing", SessionMode
= SessionMode
.Required
)]
13 public interface IDuplexSessionRouter
15 [OperationContract (AsyncPattern
= true, IsOneWay
= true, Action
= "*")]
16 IAsyncResult
BeginProcessMessage (Message message
, AsyncCallback callback
, object state
);
18 void EndProcessMessage (IAsyncResult result
);