CallContext.HostContext Property
.NET Framework 3.0
Gets or sets the host context associated with the current thread.
Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
/** @property */ public static Object get_HostContext () /** @property */ public static void set_HostContext (Object value)
public static function get HostContext () : Object public static function set HostContext (value : Object)
Not applicable.
Property Value
The host context associated with the current thread.- SecurityPermission For operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.