Files
linux-packaging-mono/external/referencesource/System.ServiceModel.Routing/System/ServiceModel/Routing/IDuplexSessionRouter.cs
Xamarin Public Jenkins (auto-signing) fad71374d0 Imported Upstream version 5.2.0.179
Former-commit-id: a536d4f20e27294d8bbc2184d75f3a22364f7ba1
2017-06-16 11:04:32 +00:00

21 lines
836 B
C#

//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.ServiceModel.Routing
{
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
[ServiceContract(Namespace = RoutingUtilities.RoutingNamespace, SessionMode = SessionMode.Required, CallbackContract = typeof(IDuplexRouterCallback))]
public interface IDuplexSessionRouter
{
[OperationContract(AsyncPattern = true, IsOneWay = true, Action = "*")]
[GenericTransactionFlow(TransactionFlowOption.Allowed)]
IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state);
void EndProcessMessage(IAsyncResult result);
}
}