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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.