Thread.CurrentContext Eigenschap

Definitie

Hiermee haalt u de huidige context op waarin de thread wordt uitgevoerd.

public:
 static property System::Runtime::Remoting::Contexts::Context ^ CurrentContext { System::Runtime::Remoting::Contexts::Context ^ get(); };
public static System.Runtime.Remoting.Contexts.Context CurrentContext { get; }
public static System.Runtime.Remoting.Contexts.Context CurrentContext { [System.Security.SecurityCritical] get; }
static member CurrentContext : System.Runtime.Remoting.Contexts.Context
[<get: System.Security.SecurityCritical>]
static member CurrentContext : System.Runtime.Remoting.Contexts.Context
Public Shared ReadOnly Property CurrentContext As Context

Waarde van eigenschap

Een Context weergave van de huidige threadcontext.

Kenmerken

Uitzonderingen

De beller heeft niet de vereiste machtiging.

Van toepassing op