合并主线最近几年来的主要更新,重点推进TinyHttpClient,替代HttpClient
大石头 authored at 2023-03-08 18:39:12
775.00 B
X_NET20
using System.Runtime.Serialization;

namespace System.Threading.Tasks
{
	public class TaskSchedulerException : Exception
	{
		private const string exceptionDefaultMessage = "An exception was thrown by a TaskScheduler";

		public TaskSchedulerException()
			: base("An exception was thrown by a TaskScheduler")
		{
		}

		public TaskSchedulerException(string message)
			: base(message)
		{
		}

		protected TaskSchedulerException(SerializationInfo info, StreamingContext context)
			: base(info, context)
		{
		}

		public TaskSchedulerException(Exception innerException)
			: base("An exception was thrown by a TaskScheduler", innerException)
		{
		}

		public TaskSchedulerException(string message, Exception innerException)
			: base(message, innerException)
		{
		}
	}
}