Thread.CurrentContext Properti

Definisi

Mendapatkan konteks saat ini di mana utas dijalankan.

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

Nilai Properti

Mewakili Context konteks utas saat ini.

Atribut

Pengecualian

Pemanggil tidak memiliki izin yang diperlukan.

Berlaku untuk