Redigera

Dela via


CallContext.HostContext Property

Definition

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