using System; using System.Runtime.InteropServices; using System.Runtime.Remoting.Messaging; namespace System.Runtime.Remoting.Channels { /// Provides required functions and properties for the sender channels. // Token: 0x020003A3 RID: 931 [ComVisible(true)] public interface IChannelSender : IChannel { /// Returns a channel message sink that delivers messages to the specified URL or channel data object. /// A channel message sink that delivers messages to the specified URL or channel data object, or null if the channel cannot connect to the given endpoint. /// The URL to which the new sink will deliver messages. Can be null. /// The channel data object of the remote host to which the new sink will deliver messages. Can be null. /// 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. /// The immediate caller does not have infrastructure permission. // Token: 0x060025A9 RID: 9641 IMessageSink CreateMessageSink(string url, object remoteChannelData, out string objectURI); } }