﻿<?xml version="1.0" encoding="utf-8"?><Type Name="IContextAttribute" FullName="System.Runtime.Remoting.Contexts.IContextAttribute"><TypeSignature Maintainer="auto" Language="C#" Value="public interface IContextAttribute" /><TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IContextAttribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Runtime.Remoting.Contexts.IContextAttribute" /> class is exposed from all context attributes. The attributes contribute a property that resides in a context and enforces a specific policy for the objects created in that context. For more information about using attributes, see <format type="text/html"><a href="30386922-1E00-4602-9EBF-526B271A8B87">[&lt;topic://cpconExtendingMetadataUsingAttributes&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Identifies a context attribute.</para></summary></Docs><Members><Member MemberName="GetPropertiesForNewContext"><MemberSignature Language="C#" Value="public void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage msg);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetPropertiesForNewContext(class System.Runtime.Remoting.Activation.IConstructionCallMessage msg) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="msg" Type="System.Runtime.Remoting.Activation.IConstructionCallMessage" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Runtime.Remoting.Contexts.IContextAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)" /> method can add context properties directly to the <see cref="P:System.Runtime.Remoting.Activation.IConstructionCallMessage.ContextProperties" /> property list in the <see cref="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" /> interface. The default implementation in the <see cref="T:System.Runtime.Remoting.Contexts.ContextAttribute" /> class will add this to the context property list. Context attributes are free to override <see cref="M:System.Runtime.Remoting.Contexts.IContextAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)" /> and can implement their own behavior. For example, they can add to the list a new class that implements the context property.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns context properties to the caller in the given message.</para></summary><param name="msg"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" /> to which to add the context properties. </param></Docs></Member><Member MemberName="IsContextOK"><MemberSignature Language="C#" Value="public bool IsContextOK (System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsContextOK(class System.Runtime.Remoting.Contexts.Context ctx, class System.Runtime.Remoting.Activation.IConstructionCallMessage msg) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="ctx" Type="System.Runtime.Remoting.Contexts.Context" /><Parameter Name="msg" Type="System.Runtime.Remoting.Activation.IConstructionCallMessage" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a Boolean value indicating whether the specified context meets the context attribute's requirements.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the passed in context is okay; otherwise, false.</para></returns><param name="ctx"><attribution license="cc4" from="Microsoft" modified="false" />The context to check against the current context attribute. </param><param name="msg"><attribution license="cc4" from="Microsoft" modified="false" />The construction call, parameters of which need to be checked against the current context. </param></Docs></Member></Members></Type>