net6.0-windows
namespace System
{
public sealed class AppDomain : MarshalByRefObject
{
[Obsolete("AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread.")]
public static int GetCurrentThreadId();
}
}
NetFx Compat Lab | 11.6 %
Reference this API |
---|---|
nuget.org | 0.2 %
Reference this API |
Upgrade Planner | 0.1 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Runtime.Experimental (6.0.2) net6.0 |
Obsolete | AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread. |
Platform Restrictions | This API is supported on all platforms. |