36 lines
2.0 KiB
C#
36 lines
2.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Runtime.Remoting.Channels
|
|
{
|
|
/// <summary>Creates server channel sinks for the server channel through which remoting messages flow.</summary>
|
|
// Token: 0x020003AD RID: 941
|
|
[ComVisible(true)]
|
|
public interface IServerChannelSinkProvider
|
|
{
|
|
/// <summary>Gets or sets the next sink provider in the channel sink provider chain.</summary>
|
|
/// <returns>The next sink provider in the channel sink provider chain.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
/// <PermissionSet>
|
|
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
|
|
/// </PermissionSet>
|
|
// Token: 0x1700070C RID: 1804
|
|
// (get) Token: 0x060025BE RID: 9662
|
|
// (set) Token: 0x060025BF RID: 9663
|
|
IServerChannelSinkProvider Next { get; set; }
|
|
|
|
/// <summary>Creates a sink chain.</summary>
|
|
/// <returns>The first sink of the newly formed channel sink chain, or null, which indicates that this provider will not or cannot provide a connection for this endpoint.</returns>
|
|
/// <param name="channel">The channel for which to create the channel sink chain. </param>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x060025C0 RID: 9664
|
|
IServerChannelSink CreateSink(IChannelReceiver channel);
|
|
|
|
/// <summary>Returns the channel data for the channel that the current sink is associated with.</summary>
|
|
/// <param name="channelData">A <see cref="T:System.Runtime.Remoting.Channels.IChannelDataStore" /> object in which the channel data is to be returned. </param>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
|
|
// Token: 0x060025C1 RID: 9665
|
|
void GetChannelData(IChannelDataStore channelData);
|
|
}
|
|
}
|