timeoutexception.cs

来自「SerialPort 串口通讯用」· CS 代码 · 共 38 行

CS
38
字号
// ==++==
// 
//   Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// ==--==
/*============================================================
**
** Class:  TimeoutException
**
** Purpose: Exception for a timeout.
**
** Date:  September 2002
**
===========================================================*/

using System;
using System.Runtime.Serialization;

namespace System
{
	// Exception supporting 
	public class TimeoutException : Exception
	{
		public TimeoutException() : base()
		{
		}
		
		public TimeoutException(string message) : base(message)
		{	
		}
	
		protected TimeoutException(SerializationInfo info, StreamingContext context) : base (info, context) 
		{
		}

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?