dotnet-core/release-notes/2.1/Preview/api-diff/preview1/2.1-preview1_System.Threading.md
2018-04-10 17:24:20 -07:00

492 B

System.Threading

 namespace System.Threading {
     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
     public struct CancellationTokenRegistration : IDisposable, IEquatable<CancellationTokenRegistration> {
+        public CancellationToken Token { get; }
     }
     public static class ThreadPool {
+        public static bool QueueUserWorkItem(WaitCallback callBack, object state, bool preferLocal);
     }
 }