Thread.GetCompressedStack Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Varning
Code Access Security is not supported or honored by the runtime.
Varning
Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class
Returnerar ett CompressedStack objekt som kan användas för att avbilda stacken för den aktuella tråden.
public:
System::Threading::CompressedStack ^ GetCompressedStack();
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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();
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();
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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
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
Returer
- Attribut
Undantag
I samtliga fall.
Kommentarer
Caution
Code Access Security (CAS) har föråldrats i alla versioner av .NET Framework och .NET. De senaste versionerna av .NET följer inte CAS-anteckningar och skapar fel om CAS-relaterade API:er används. Utvecklare bör söka alternativa sätt att utföra säkerhetsuppgifter.
Den här metoden stöds inte längre.