Thread.GetCompressedStack Método

Definición

Precaución

Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class

Devuelve un CompressedStack objeto que se puede usar para capturar la pila del subproceso actual.

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

Devoluciones

Atributos

Excepciones

En todos los casos.

Comentarios

Caution

La seguridad de acceso al código (CAS) está en desuso en todas las versiones de .NET Framework y .NET. Las versiones recientes de .NET no respetan las anotaciones de CAS y producen errores si se utilizan las API relacionadas con CAS. Los desarrolladores deben buscar medios alternativos para realizar tareas de seguridad.

Este método ya no se admite.

Se aplica a