System.Threading.CompressedStack.Run Method

Runs a method in the specified compressed stack on the current thread.

Syntax

[System.Security.SecurityCritical]
public static void Run (CompressedStack compressedStack, ContextCallback callback, object state)

Parameters

compressedStack
The System.Threading.CompressedStack to set.
callback
A System.Threading.ContextCallback that represents the method to be run in the specified security context.
state
The object to be passed to the callback method.

Remarks

The compressed stack is returned to its previous state when the method completes.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0