CallContext.HostContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the host context associated with the current thread.
public:
static property System::Object ^ HostContext { System::Object ^ get(); void set(System::Object ^ value); };
public static object HostContext { get; set; }
public static object HostContext { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
static member HostContext : obj with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
static member HostContext : obj with get, set
Public Shared Property HostContext As Object
Property Value
The host context associated with the current thread.
- Attributes
Exceptions
The immediate caller does not have infrastructure permission.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.