Thread.CurrentContext Özellik

Tanım

İş parçacığının yürütülmekte olduğu geçerli bağlamı alır.

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

Özellik Değeri

Context Geçerli iş parçacığı bağlamını temsil eden bir.

Öznitelikler

Özel durumlar

Çağıranın gerekli izni yok.

Şunlara uygulanır