Files
2026-06-04 11:42:34 +02:00

117 lines
7.6 KiB
C#

using System;
using System.Reflection;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Messaging
{
/// <summary>Defines the method message interface.</summary>
// Token: 0x020003ED RID: 1005
[ComVisible(true)]
public interface IMethodMessage : IMessage
{
/// <summary>Gets the number of arguments passed to the method.</summary>
/// <returns>The number of arguments passed to the method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x17000767 RID: 1895
// (get) Token: 0x0600271F RID: 10015
int ArgCount { get; }
/// <summary>Gets an array of arguments passed to the method.</summary>
/// <returns>An <see cref="T:System.Object" /> array containing the arguments passed to the method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x17000768 RID: 1896
// (get) Token: 0x06002720 RID: 10016
object[] Args { get; }
/// <summary>Gets a value indicating whether the message has variable arguments.</summary>
/// <returns>true if the method can accept a variable number of arguments; otherwise, false.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x17000769 RID: 1897
// (get) Token: 0x06002721 RID: 10017
bool HasVarArgs { get; }
/// <summary>Gets the <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</summary>
/// <returns>Gets the <see cref="T:System.Runtime.Remoting.Messaging.LogicalCallContext" /> for the current method call.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076A RID: 1898
// (get) Token: 0x06002722 RID: 10018
LogicalCallContext LogicalCallContext { get; }
/// <summary>Gets the <see cref="T:System.Reflection.MethodBase" /> of the called method.</summary>
/// <returns>The <see cref="T:System.Reflection.MethodBase" /> of the called method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076B RID: 1899
// (get) Token: 0x06002723 RID: 10019
MethodBase MethodBase { get; }
/// <summary>Gets the name of the invoked method.</summary>
/// <returns>The name of the invoked method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076C RID: 1900
// (get) Token: 0x06002724 RID: 10020
string MethodName { get; }
/// <summary>Gets an object containing the method signature.</summary>
/// <returns>An object containing the method signature.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076D RID: 1901
// (get) Token: 0x06002725 RID: 10021
object MethodSignature { get; }
/// <summary>Gets the full <see cref="T:System.Type" /> name of the specific object that the call is destined for.</summary>
/// <returns>The full <see cref="T:System.Type" /> name of the specific object that the call is destined for.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076E RID: 1902
// (get) Token: 0x06002726 RID: 10022
string TypeName { get; }
/// <summary>Gets the URI of the specific object that the call is destined for.</summary>
/// <returns>The URI of the remote object that contains the invoked method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and 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: 0x1700076F RID: 1903
// (get) Token: 0x06002727 RID: 10023
string Uri { get; }
/// <summary>Gets a specific argument as an <see cref="T:System.Object" />.</summary>
/// <returns>The argument passed to the method.</returns>
/// <param name="argNum">The number of the requested argument. </param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission. </exception>
// Token: 0x06002728 RID: 10024
object GetArg(int argNum);
/// <summary>Gets the name of the argument passed to the method.</summary>
/// <returns>The name of the specified argument passed to the method, or null if the current method is not implemented.</returns>
/// <param name="index">The number of the requested argument. </param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission. </exception>
// Token: 0x06002729 RID: 10025
string GetArgName(int index);
}
}