using System; using System.Runtime.InteropServices; using System.Runtime.Remoting.Activation; namespace System.Runtime.Remoting.Contexts { /// Identifies a context attribute. // Token: 0x020003C0 RID: 960 [ComVisible(true)] public interface IContextAttribute { /// Returns context properties to the caller in the given message. /// The to which to add the context properties. // Token: 0x06002625 RID: 9765 void GetPropertiesForNewContext(IConstructionCallMessage msg); /// Returns a Boolean value indicating whether the specified context meets the context attribute's requirements. /// true if the passed in context is okay; otherwise, false. /// The context to check against the current context attribute. /// The construction call, parameters of which need to be checked against the current context. // Token: 0x06002626 RID: 9766 bool IsContextOK(Context ctx, IConstructionCallMessage msg); } }