Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/Remoting/Messaging/IMethodMessage.cs
T
2026-04-10 22:50:51 +02:00

128 lines
5.4 KiB
C#

using System;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Messaging
{
/// <summary>Defines the method message interface.</summary>
// Token: 0x02000515 RID: 1301
[Token(Token = "0x2000515")]
[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>
// Token: 0x170005E7 RID: 1511
// (get) Token: 0x06002943 RID: 10563
[Token(Token = "0x170005E7")]
int ArgCount
{
[Token(Token = "0x6002943")]
[Address(Slot = "0")]
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>
// Token: 0x170005E8 RID: 1512
// (get) Token: 0x06002944 RID: 10564
[Token(Token = "0x170005E8")]
object[] Args
{
[Token(Token = "0x6002944")]
[Address(Slot = "1")]
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>
// Token: 0x170005E9 RID: 1513
// (get) Token: 0x06002945 RID: 10565
[Token(Token = "0x170005E9")]
LogicalCallContext LogicalCallContext
{
[Token(Token = "0x6002945")]
[Address(Slot = "2")]
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>
// Token: 0x170005EA RID: 1514
// (get) Token: 0x06002946 RID: 10566
[Token(Token = "0x170005EA")]
MethodBase MethodBase
{
[Token(Token = "0x6002946")]
[Address(Slot = "3")]
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>
// Token: 0x170005EB RID: 1515
// (get) Token: 0x06002947 RID: 10567
[Token(Token = "0x170005EB")]
string MethodName
{
[Token(Token = "0x6002947")]
[Address(Slot = "4")]
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>
// Token: 0x170005EC RID: 1516
// (get) Token: 0x06002948 RID: 10568
[Token(Token = "0x170005EC")]
object MethodSignature
{
[Token(Token = "0x6002948")]
[Address(Slot = "5")]
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>
// Token: 0x170005ED RID: 1517
// (get) Token: 0x06002949 RID: 10569
[Token(Token = "0x170005ED")]
string TypeName
{
[Token(Token = "0x6002949")]
[Address(Slot = "6")]
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>
// Token: 0x170005EE RID: 1518
// (get) Token: 0x0600294A RID: 10570
[Token(Token = "0x170005EE")]
string Uri
{
[Token(Token = "0x600294A")]
[Address(Slot = "7")]
get;
}
/// <summary>Gets a specific argument as an <see cref="T:System.Object" />.</summary>
/// <param name="argNum">The number of the requested argument.</param>
/// <returns>The argument 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>
// Token: 0x0600294B RID: 10571
[Token(Token = "0x600294B")]
[Address(Slot = "8")]
object GetArg(int argNum);
}
}