CompressedStack.Run(CompressedStack, ContextCallback, Object) Metoda

Definicja

Uruchamia metodę w określonym skompresowanym stosie w bieżącym wątku.

public:
 static void Run(System::Threading::CompressedStack ^ compressedStack, System::Threading::ContextCallback ^ callback, System::Object ^ state);
public static void Run (System.Threading.CompressedStack compressedStack, System.Threading.ContextCallback callback, object? state);
public static void Run (System.Threading.CompressedStack compressedStack, System.Threading.ContextCallback callback, object state);
[System.Security.SecurityCritical]
public static void Run (System.Threading.CompressedStack compressedStack, System.Threading.ContextCallback callback, object state);
static member Run : System.Threading.CompressedStack * System.Threading.ContextCallback * obj -> unit
[<System.Security.SecurityCritical>]
static member Run : System.Threading.CompressedStack * System.Threading.ContextCallback * obj -> unit
Public Shared Sub Run (compressedStack As CompressedStack, callback As ContextCallback, state As Object)

Parametry

compressedStack
CompressedStack

Element CompressedStack do ustawienia.

callback
ContextCallback

Element ContextCallback reprezentujący metodę do uruchomienia w określonym kontekście zabezpieczeń.

state
Object

Obiekt, który ma zostać przekazany do metody wywołania zwrotnego.

Atrybuty

Wyjątki

compressedStack to null.

Uwagi

Skompresowany stos jest zwracany do poprzedniego stanu po zakończeniu metody.

Dotyczy