using System;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Messaging;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Channels
{
/// Provides required functions and properties for the sender channels.
// Token: 0x020004E6 RID: 1254
[Token(Token = "0x20004E6")]
[ComVisible(true)]
public interface IChannelSender : IChannel
{
/// Returns a channel message sink that delivers messages to the specified URL or channel data object.
/// The URL to which the new sink will deliver messages. Can be .
/// The channel data object of the remote host to which the new sink will deliver messages. Can be .
/// When this method returns, contains a URI of the new channel message sink that delivers messages to the specified URL or channel data object. This parameter is passed uninitialized.
/// A channel message sink that delivers messages to the specified URL or channel data object, or if the channel cannot connect to the given endpoint.
/// The immediate caller does not have infrastructure permission.
// Token: 0x0600287E RID: 10366
[Token(Token = "0x600287E")]
[Address(Slot = "0")]
IMessageSink CreateMessageSink(string url, object remoteChannelData, out string objectURI);
}
}