Thread.SetCompressedStack(CompressedStack) Thread.SetCompressedStack(CompressedStack) Thread.SetCompressedStack(CompressedStack) Thread.SetCompressedStack(CompressedStack) Method

Definition

Warning

This API is now obsolete.

Applies a captured CompressedStack to the current thread.

public:
 void SetCompressedStack(System::Threading::CompressedStack ^ stack);
[System.Obsolete("Thread.SetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
[System.Security.SecurityCritical]
public void SetCompressedStack (System.Threading.CompressedStack stack);
member this.SetCompressedStack : System.Threading.CompressedStack -> unit
Public Sub SetCompressedStack (stack As CompressedStack)

Parameters

stack
CompressedStack CompressedStack CompressedStack CompressedStack

The CompressedStack object to be applied to the current thread.

Exceptions

Remarks

This method is no longer supported.

Security

SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to