Thread.CurrentContext Eigenschaft

Definition

Ruft den aktuellen Kontext ab, in dem der Thread ausgeführt wird.

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

Eigenschaftswert

A Context representing the current thread context.

Attribute

Ausnahmen

Der Aufrufer verfügt nicht über die erforderliche Berechtigung.

Gilt für: