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

32 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Activation;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Contexts
{
/// <summary>Identifies a context attribute.</summary>
// Token: 0x020004D3 RID: 1235
[Token(Token = "0x20004D3")]
[ComVisible(true)]
public interface IContextAttribute
{
/// <summary>Returns context properties to the caller in the given message.</summary>
/// <param name="msg">The <see cref="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" /> to which to add the context properties.</param>
// Token: 0x06002846 RID: 10310
[Token(Token = "0x6002846")]
[Address(Slot = "0")]
void GetPropertiesForNewContext(IConstructionCallMessage msg);
/// <summary>Returns a Boolean value indicating whether the specified context meets the context attribute's requirements.</summary>
/// <param name="ctx">The context to check against the current context attribute.</param>
/// <param name="msg">The construction call, parameters of which need to be checked against the current context.</param>
/// <returns>
/// <see langword="true" /> if the passed in context is okay; otherwise, <see langword="false" />.</returns>
// Token: 0x06002847 RID: 10311
[Token(Token = "0x6002847")]
[Address(Slot = "1")]
bool IsContextOK(Context ctx, IConstructionCallMessage msg);
}
}