1 //---------------------------------------------------------------- 2 // Copyright (c) Microsoft Corporation. All rights reserved. 3 //---------------------------------------------------------------- 4 5 namespace System.ServiceModel.Routing 6 { 7 using System; 8 using System.ServiceModel.Channels; 9 using System.Transactions; 10 11 interface IRoutingClient 12 { BeginOperation(Message message, Transaction transaction, AsyncCallback callback, object state)13 IAsyncResult BeginOperation(Message message, Transaction transaction, AsyncCallback callback, object state); EndOperation(IAsyncResult result)14 Message EndOperation(IAsyncResult result); 15 event EventHandler Faulted; 16 RoutingEndpointTrait Key { get; } 17 CommunicationState State { get; } Open()18 void Open(); 19 } 20 } 21