26 lines
1.5 KiB
C#
26 lines
1.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Remoting.Messaging;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting.Channels
|
|
{
|
|
/// <summary>Provides required functions and properties for the sender channels.</summary>
|
|
// Token: 0x020004E6 RID: 1254
|
|
[Token(Token = "0x20004E6")]
|
|
[ComVisible(true)]
|
|
public interface IChannelSender : IChannel
|
|
{
|
|
/// <summary>Returns a channel message sink that delivers messages to the specified URL or channel data object.</summary>
|
|
/// <param name="url">The URL to which the new sink will deliver messages. Can be <see langword="null" />.</param>
|
|
/// <param name="remoteChannelData">The channel data object of the remote host to which the new sink will deliver messages. Can be <see langword="null" />.</param>
|
|
/// <param name="objectURI">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.</param>
|
|
/// <returns>A channel message sink that delivers messages to the specified URL or channel data object, or <see langword="null" /> if the channel cannot connect to the given endpoint.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
|
|
// Token: 0x0600287E RID: 10366
|
|
[Token(Token = "0x600287E")]
|
|
[Address(Slot = "0")]
|
|
IMessageSink CreateMessageSink(string url, object remoteChannelData, out string objectURI);
|
|
}
|
|
}
|