interprocessioexception.cs

来自「通过NamePipe与其他进程通信的代码」· CS 代码 · 共 42 行

CS
42
字号
using System;
using System.Runtime.Serialization;

namespace AppModule.InterProcessComm {
	#region Comments
	/// <summary>
	/// 
	/// </summary>
	#endregion
	public class InterProcessIOException : Exception {
		#region Comments
		/// <summary>
		/// 
		/// </summary>
		#endregion
		public bool IsServerAvailable = true;
		#region Comments
		/// <summary>
		/// 
		/// </summary>
		#endregion
		public uint ErrorCode = 0;
		#region Comments
		/// <summary>
		/// 
		/// </summary>
		/// <param name="text"></param>
		#endregion
		public InterProcessIOException(String text) : base(text) {
		}
		#region Comments
		/// <summary>
		/// 
		/// </summary>
		/// <param name="info"></param>
		/// <param name="context"></param>
		#endregion
		protected InterProcessIOException(SerializationInfo info, StreamingContext context) : base(info, context) {
		}
	}
}

⌨️ 快捷键说明

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