e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
21 lines
836 B
C#
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);
|
|
}
|
|
}
|