Thread.GetCompressedStack Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class
Retorna um CompressedStack objeto que pode ser usado para capturar a pilha do thread atual.
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
Retornos
- Atributos
Exceções
Em todos os casos.
Comentários
Caution
O CAS (Code Access Security) foi preterido em todas as versões do .NET Framework e do .NET. As versões recentes do .NET não honram as anotações CAS e geram erros se as APIs relacionadas ao CAS forem usadas. Os desenvolvedores devem buscar meios alternativos para realizar tarefas de segurança.
Não há mais suporte para esse método.