0 out of 1 rated this helpful - Rate this topic

CallContext.HostContext Property

Gets or sets the host context associated with the current thread.

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)

public static Object HostContext { get; set; }
/** @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.
Exception typeCondition

SecurityException

The immediate caller does not have infrastructure permission.

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.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.