Files
Dec2017-Script-Dump/mscorlib/System/Runtime/Remoting/Channels/IChannel.cs
T
2026-06-04 11:42:34 +02:00

40 lines
2.1 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Channels
{
/// <summary>Provides conduits for messages that cross remoting boundaries.</summary>
// Token: 0x0200039F RID: 927
[ComVisible(true)]
public interface IChannel
{
/// <summary>Gets the name of the channel.</summary>
/// <returns>The name of the channel.</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: 0x170006FF RID: 1791
// (get) Token: 0x0600259B RID: 9627
string ChannelName { get; }
/// <summary>Gets the priority of the channel.</summary>
/// <returns>An integer that indicates the priority of the channel.</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: 0x17000700 RID: 1792
// (get) Token: 0x0600259C RID: 9628
int ChannelPriority { get; }
/// <summary>Returns the object URI as an out parameter, and the URI of the current channel as the return value.</summary>
/// <returns>The URI of the current channel, or null if the URI does not belong to this channel.</returns>
/// <param name="url">The URL of the object. </param>
/// <param name="objectURI">When this method returns, contains a <see cref="T:System.String" /> that holds the object URI. This parameter is passed uninitialized. </param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
// Token: 0x0600259D RID: 9629
string Parse(string url, out string objectURI);
}
}