Thread.ExecutionContext Egenskap

Definition

Hämtar ett ExecutionContext objekt som innehåller information om de olika kontexterna i den aktuella tråden.

public:
 property System::Threading::ExecutionContext ^ ExecutionContext { System::Threading::ExecutionContext ^ get(); };
public System.Threading.ExecutionContext? ExecutionContext { get; }
public System.Threading.ExecutionContext ExecutionContext { get; }
member this.ExecutionContext : System.Threading.ExecutionContext
Public ReadOnly Property ExecutionContext As ExecutionContext

Egenskapsvärde

Ett ExecutionContext objekt som konsoliderar kontextinformation för den aktuella tråden.

Kommentarer

Klassen ExecutionContext tillhandahåller en enda container för all information som är relevant för en logisk körningstråd. Detta omfattar säkerhetskontext, samtalskontext, synkroniseringskontext, lokaliseringskontext och transaktionskontext.

Gäller för