File: System\ServiceModel\Channels\IOutputChannel.cs
Project: ndp\cdf\src\WCF\ServiceModel\System.ServiceModel.csproj (System.ServiceModel)
//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//----------------------------------------------------------------------------
namespace System.ServiceModel.Channels
{
    using System;
    using System.ServiceModel;
 
    public interface IOutputChannel : IChannel
    {
        EndpointAddress RemoteAddress { get; }
        Uri Via { get; }
 
        void Send(Message message);
        void Send(Message message, TimeSpan timeout);
        IAsyncResult BeginSend(Message message, AsyncCallback callback, object state);
        IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
        void EndSend(IAsyncResult result);
    }
}