Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
704 B
C#

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