Thread.SetCompressedStack(CompressedStack) Metodo

Definizione

Attenzione

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

Applica un oggetto acquisito CompressedStack al thread corrente.

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

Parametri

stack
CompressedStack

Oggetto CompressedStack da applicare al thread corrente.

Attributi

Eccezioni

In tutti i casi.

Commenti

Caution

La sicurezza dall'accesso al codice è stata deprecata in tutte le versioni di .NET Framework e .NET. Le versioni recenti di .NET non rispettano le annotazioni CAS e generano errori se vengono usate API correlate a CAS. Gli sviluppatori devono cercare mezzi alternativi per eseguire attività di sicurezza.

Questo metodo non è più supportato.

Si applica a